Correct flawed AF_PACKET correction and remove superfluous disable-shared.

Thu, 09 Aug 2012 18:57:21 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 09 Aug 2012 18:57:21 +0200
changeset 499
a5345734c62c
parent 498
c6b0e6c7f67d
child 500
7911e95d7847

Correct flawed AF_PACKET correction and remove superfluous disable-shared.

libpcap/libpcap.patch file | annotate | diff | comparison | revisions
libpcap/libpcap.spec file | annotate | diff | comparison | revisions
     1.1 --- a/libpcap/libpcap.patch	Thu Aug 09 18:55:01 2012 +0200
     1.2 +++ b/libpcap/libpcap.patch	Thu Aug 09 18:57:21 2012 +0200
     1.3 @@ -47,7 +47,7 @@
     1.4  +/* Yes Solaris 11 defines AF_PACKET but it does so in sys/socket.h */
     1.5  +/* rather than netpacket/packet.h as claimed here. Not ready for   */
     1.6  +/* prime time time so circumvent until corrected upstream.         */
     1.7 -+#ifdef AF_PACKET_KAPUTTIBUG
     1.8 ++#ifdef __linux || AF_PACKET_KAPUTTIBUG
     1.9   # ifdef HAVE_NETPACKET_PACKET_H
    1.10   /* Solaris 11 and later, Linux distributions with newer glibc */
    1.11   #  include <netpacket/packet.h>
     2.1 --- a/libpcap/libpcap.spec	Thu Aug 09 18:55:01 2012 +0200
     2.2 +++ b/libpcap/libpcap.spec	Thu Aug 09 18:57:21 2012 +0200
     2.3 @@ -73,8 +73,7 @@
     2.4      GREP="grep" \
     2.5      ./configure \
     2.6          --prefix=%{l_prefix} \
     2.7 -        --mandir=%{l_prefix}/man \
     2.8 -        --disable-shared
     2.9 +        --mandir=%{l_prefix}/man
    2.10      %{l_make} %{l_mflags -O}
    2.11  
    2.12  %install

mercurial