commit pwlib for openSUSE:Factory
Hello community,
here is the log from the commit of package pwlib for openSUSE:Factory checked in at 2017-09-28 12:35:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/pwlib (Old)
and /work/SRC/openSUSE:Factory/.pwlib.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "pwlib"
Thu Sep 28 12:35:36 2017 rev:41 rq:529022 version:1.11.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/pwlib/pwlib.changes 2015-01-24 22:20:29.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.pwlib.new/pwlib.changes 2017-09-28 12:35:54.811098355 +0200
@@ -1,0 +2,11 @@
+Wed Sep 27 16:13:53 UTC 2017 - dimstar@opensuse.org
+
+- Remove esound-devel BuildRequires: no longer needed. In fact, esd
+ support was anyway not built, since ESDDIR was never exported
+ during the build phase.
+- Add alsa-devel BuildRequires: this used to be pulled in by
+ esound-devel.
+- Add pwlib-gcc7.patch: Fix build with gcc 7.2. readv is defined
+ in sys/uio.h, which is no longer implicit included.
+
+-------------------------------------------------------------------
New:
----
pwlib-gcc7.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ pwlib.spec ++++++
--- /var/tmp/diff_new_pack.OSnz7O/_old 2017-09-28 12:35:55.562992627 +0200
+++ /var/tmp/diff_new_pack.OSnz7O/_new 2017-09-28 12:35:55.566992064 +0200
@@ -1,7 +1,7 @@
#
# spec file for package pwlib
#
-# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,13 +16,14 @@
#
+%define package_version v1_11_0
+%define debug_package_requires libpt1_11 = %{version}-%{release}
Name: pwlib
+Version: 1.11.0
+Release: 0
Summary: Portable Windows Library from Equivalence Pty. Ltd
License: MPL-1.0
Group: System/Libraries
-Version: 1.11.0
-Release: 0
-%define package_version v1_11_0
Url: http://openh323.sourceforge.net
# https://sourceforge.net/projects/openh323
Source: %{name}-%{package_version}-src-tar.bz2
@@ -37,29 +38,27 @@
Patch7: aarch64-support.patch
Patch8: ppc64le-support.patch
Patch9: pwlib-bison-3.0.patch
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
+Patch10: pwlib-gcc7.patch
BuildRequires: SDL-devel
+BuildRequires: alsa-devel
BuildRequires: automake
BuildRequires: bison
BuildRequires: cyrus-sasl-devel
-BuildRequires: esound-devel
BuildRequires: flex
BuildRequires: gcc-c++
BuildRequires: libdv-devel
BuildRequires: libexpat-devel
BuildRequires: openldap2-devel
BuildRequires: openssl-devel
-%if 0%{?suse_version} >= 1210
-BuildRequires: libv4l-devel >= 0.8.4
-%endif
Provides: %{name}-plugins-alsa = %{version}-%{release}
Provides: %{name}-plugins-oss = %{version}-%{release}
Provides: %{name}-plugins-v4l = %{version}-%{release}
Obsoletes: %{name}-plugins-alsa < %{version}-%{release}
Obsoletes: %{name}-plugins-oss < %{version}-%{release}
Obsoletes: %{name}-plugins-v4l < %{version}-%{release}
-
-%define debug_package_requires libpt1_11 = %{version}-%{release}
+%if 0%{?suse_version} >= 1210
+BuildRequires: libv4l-devel >= 0.8.4
+%endif
%description
PWLib is a moderately large class library that was created many years
@@ -91,7 +90,6 @@
This package includes header files and scripts needed for developers
using the PWLIB library.
-
%package plugins-v4l2
Summary: V4L2 support for pwlib
Group: System/Libraries
@@ -104,7 +102,6 @@
This plugin enables 'video for linux' (version 2) support (e.g. for USB
cameras) for pwlib.
-
%prep
%setup -q -n %{name}_%{package_version}
%patch0 -p1
@@ -121,6 +118,7 @@
%patch7
%patch8 -p1
%patch9 -p0
+%patch10 -p1
%build
#autoreconf --force --install
@@ -142,11 +140,11 @@
# --enable-sockagg\
# --enable-exceptions
-make RPM_OPT_FLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -fstack-protector" \
+make RPM_OPT_FLAGS="%{optflags} -fno-strict-aliasing -fstack-protector" \
%{?_smp_mflags}
%install
-make install DESTDIR=$RPM_BUILD_ROOT
+make install DESTDIR=%{buildroot}
%post -n libpt1_11 -p /sbin/ldconfig
++++++ pwlib-gcc7.patch ++++++
Index: pwlib_v1_11_0/src/ptlib/unix/channel.cxx
===================================================================
--- pwlib_v1_11_0.orig/src/ptlib/unix/channel.cxx
+++ pwlib_v1_11_0/src/ptlib/unix/channel.cxx
@@ -161,6 +161,7 @@
#include
participants (1)
-
root@hilbert.suse.de