Hello community,

here is the log from the commit of package lsof for openSUSE:Factory checked in 
at 2019-04-17 10:03:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/lsof (Old)
 and      /work/SRC/openSUSE:Factory/.lsof.new.17052 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "lsof"

Wed Apr 17 10:03:45 2019 rev:36 rq:694385 version:4.91

Changes:
--------
--- /work/SRC/openSUSE:Factory/lsof/lsof.changes        2018-03-30 
11:58:31.425041213 +0200
+++ /work/SRC/openSUSE:Factory/.lsof.new.17052/lsof.changes     2019-04-17 
10:03:48.174459597 +0200
@@ -1,0 +2,6 @@
+Wed Apr 10 14:30:38 UTC 2019 - Dominique Leuenberger <[email protected]>
+
+- Add lsof-glibc-linux-5.0.patch: Fix build with
+  linux-glibc-devel-5.0 by including sysmacros.h as needed.
+
+-------------------------------------------------------------------

New:
----
  lsof-glibc-linux-5.0.patch

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

Other differences:
------------------
++++++ lsof.spec ++++++
--- /var/tmp/diff_new_pack.flxRXR/_old  2019-04-17 10:03:49.894461668 +0200
+++ /var/tmp/diff_new_pack.flxRXR/_new  2019-04-17 10:03:49.898461673 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package lsof
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 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
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -22,7 +22,7 @@
 Summary:        A Program That Lists Information about Files Opened by 
Processes
 License:        Zlib
 Group:          System/Monitoring
-Url:            http://people.freebsd.org/~abe/
+URL:            http://people.freebsd.org/~abe/
 # Always repack the source to remove legally problematic files - bnc#705143
 # dialects/uw/uw7/sys/fs/{fifonode.h,namenode.h,README}
 Source:         %{name}_%{version}_src_repacked.tar.xz
@@ -30,6 +30,7 @@
 Patch1:         lsof_4.81-fmt.patch
 Patch2:         lsof-no-build-date-etc.patch
 Patch3:         lsof_4.81-perl.patch
+Patch4:         lsof-glibc-linux-5.0.patch
 BuildRequires:  libselinux-devel
 BuildRequires:  xz
 
@@ -47,6 +48,7 @@
 %patch1
 %patch2
 %patch3
+%patch4 -p1
 
 %build
 ./Configure -n linux

++++++ lsof-glibc-linux-5.0.patch ++++++
Index: lsof_4.91_src/tests/LTlib.c
===================================================================
--- lsof_4.91_src.orig/tests/LTlib.c
+++ lsof_4.91_src/tests/LTlib.c
@@ -231,26 +231,32 @@ _PROTOTYPE(static X2DEV_T x2dev,(char *x
  */
 
 #if    !defined(major_S)
+#include <sys/sysmacros.h>
 #define        major_S         major
 #endif /* defined(major_S) */
 
 #if    !defined(minor_S)
+#include <sys/sysmacros.h>
 #define        minor_S         minor
 #endif /* defined(minor_S) */
 
 #if    !defined(unit_S)
+#include <sys/sysmacros.h>
 #define        unit_S(x)       0
 #endif /* defined(unit_S) */
 
 #if    !defined(major_X)
+#include <sys/sysmacros.h>
 #define        major_X(dp, em) major(x2dev(dp, em))
 #endif /* defined(major_X) */
 
 #if    !defined(minor_X)
+#include <sys/sysmacros.h>
 #define        minor_X(dp, em) minor(x2dev(dp, em))
 #endif /* defined(minor_X) */
 
 #if    !defined(unit_X)
+#include <sys/sysmacros.h>
 #define        unit_X(dp, em)  0
 #endif /* defined(unit_X) */
 

Reply via email to