Hello community,

here is the log from the commit of package libselinux for openSUSE:Factory 
checked in at 2017-08-24 17:38:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libselinux (Old)
 and      /work/SRC/openSUSE:Factory/.libselinux.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libselinux"

Thu Aug 24 17:38:46 2017 rev:47 rq:514179 version:2.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/libselinux/libselinux-bindings.changes   
2016-08-03 11:36:46.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.libselinux.new/libselinux-bindings.changes      
2017-08-24 17:39:04.736972570 +0200
@@ -1,0 +2,5 @@
+Wed Jul  5 10:30:57 UTC 2017 - sch...@suse.de
+
+- readv-proto.patch: include <sys/uio.h> for readv prototype
+
+-------------------------------------------------------------------
libselinux.changes: same change

New:
----
  readv-proto.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libselinux-bindings.spec ++++++
--- /var/tmp/diff_new_pack.W5WCzf/_old  2017-08-24 17:39:09.004371778 +0200
+++ /var/tmp/diff_new_pack.W5WCzf/_new  2017-08-24 17:39:09.008371215 +0200
@@ -33,6 +33,8 @@
 Patch1:         libselinux-2.2-ruby.patch
 # PATCH-FIX-UPSTREAM swig-3.10 use importlib which not search the directory 
__init__.py is in but standard path
 Patch2:         python-selinux-swig-3.10.patch
+# PATCH-FIX-UPSTREAM Include <sys/uio.h> for readv prototype
+Patch4:         readv-proto.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  libsepol-devel-static >= %{libsepol_ver}
 BuildRequires:  pcre-devel
@@ -76,6 +78,7 @@
 %setup -q -n libselinux-%{version}
 %patch1
 %patch2 -p1
+%patch4 -p1
 
 %build
 make %{?_smp_mflags} LIBDIR="%{_libdir}" CFLAGS="$RPM_OPT_FLAGS" -C src

++++++ libselinux.spec ++++++
--- /var/tmp/diff_new_pack.W5WCzf/_old  2017-08-24 17:39:09.044366148 +0200
+++ /var/tmp/diff_new_pack.W5WCzf/_new  2017-08-24 17:39:09.048365585 +0200
@@ -34,6 +34,8 @@
 Patch2:         python-selinux-swig-3.10.patch
 # PATCH-FIX-UPSTREAM Avoid mounting /proc outside of 
selinux_init_load_policy().
 Patch3:         libselinux-proc-mount-only-if-needed.patch
+# PATCH-FIX-UPSTREAM Include <sys/uio.h> for readv prototype
+Patch4:         readv-proto.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  fdupes
 BuildRequires:  libsepol-devel >= %{libsepol_ver}
@@ -103,6 +105,8 @@
 %patch1
 %patch2 -p1
 %patch3 -p1
+%patch4 -p1
+
 %build
 make %{?_smp_mflags} LIBDIR="%{_libdir}" CC="%{__cc}" CFLAGS="$RPM_OPT_FLAGS"
 

++++++ readv-proto.patch ++++++
Index: libselinux-2.5/src/setrans_client.c
===================================================================
--- libselinux-2.5.orig/src/setrans_client.c
+++ libselinux-2.5/src/setrans_client.c
@@ -9,6 +9,7 @@
 #include <sys/types.h>
 #include <sys/socket.h>
 #include <sys/un.h>
+#include <sys/uio.h>
 
 #include <errno.h>
 #include <stdlib.h>

Reply via email to