Hello community, here is the log from the commit of package libpcap for openSUSE:Factory checked in at 2017-09-18 19:52:46 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libpcap (Old) and /work/SRC/openSUSE:Factory/.libpcap.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libpcap" Mon Sep 18 19:52:46 2017 rev:54 rq:523893 version:1.8.1 Changes: -------- --- /work/SRC/openSUSE:Factory/libpcap/libpcap.changes 2017-04-11 09:29:20.839127216 +0200 +++ /work/SRC/openSUSE:Factory/.libpcap.new/libpcap.changes 2017-09-18 19:52:51.916618483 +0200 @@ -1,0 +2,6 @@ +Tue Sep 12 20:33:09 UTC 2017 - [email protected] + +- Added a patch (disable-remote.diff) to fix applications to FTBFS + if they define HAVE_REMOTE (deb#843384). Patch taken from Debian. + +------------------------------------------------------------------- New: ---- disable-remote.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libpcap.spec ++++++ --- /var/tmp/diff_new_pack.kGz28i/_old 2017-09-18 19:52:53.284426101 +0200 +++ /var/tmp/diff_new_pack.kGz28i/_new 2017-09-18 19:52:53.284426101 +0200 @@ -31,6 +31,7 @@ Patch2: libpcap-1.0.0-ppp.patch Patch3: libpcap-1.0.0-s390.patch Patch5: libpcap-no-old-socket.patch +Patch6: disable-remote.diff BuildRequires: automake BuildRequires: bison BuildRequires: bluez-devel @@ -88,6 +89,7 @@ %patch2 %patch3 -p1 %patch5 -p1 +%patch6 -p1 %build autoreconf -fiv ++++++ disable-remote.diff ++++++ Disable bits of remote capture support inherited from the WinPCAP merge which cause applications to FTBFS if they define HAVE_REMOTE (#843384). --- a/pcap/pcap.h +++ b/pcap/pcap.h @@ -506,6 +506,11 @@ #define MODE_STAT 1 #define MODE_MON 2 +#ifdef HAVE_REMOTE + /* Includes most of the public stuff that is needed for the remote capture */ + #include <remote-ext.h> +#endif /* HAVE_REMOTE */ + #elif defined(MSDOS) /* @@ -526,11 +531,6 @@ #endif /* _WIN32/MSDOS/UN*X */ -#ifdef HAVE_REMOTE - /* Includes most of the public stuff that is needed for the remote capture */ - #include <remote-ext.h> -#endif /* HAVE_REMOTE */ - #ifdef __cplusplus } #endif
