Package: libpcap0.9
Severity: wishlist
Tags: patch

Hi,

Please find attached a patch to support for GNU/kFreeBSD. This is the
same as bug#293846, but for libpcap0.9.

Bye,
Aurelien

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: kfreebsd-i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: GNU/kFreeBSD 5.3-10
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
diff -u libpcap0.9-0.9.0.cvs.20050614/debian/control 
libpcap0.9-0.9.0.cvs.20050614/debian/control
--- libpcap0.9-0.9.0.cvs.20050614/debian/control
+++ libpcap0.9-0.9.0.cvs.20050614/debian/control
@@ -4,6 +4,7 @@
 Maintainer: Romain Francoise <[EMAIL PROTECTED]>
 Uploaders: Torsten Landschoff <[EMAIL PROTECTED]>
 Build-Depends: debhelper (>= 4), flex, bison, dpatch, perl
+Build-Conflicts: libpcap0.7-dev
 Standards-Version: 3.6.1.0
 
 Package: libpcap0.9-dev
--- libpcap0.9-0.9.0.cvs.20050614.orig/configure
+++ libpcap0.9-0.9.0.cvs.20050614/configure
@@ -4812,7 +4812,7 @@
 echo $ECHO_N "checking packet capture type... $ECHO_C" >&6
 if test ! -z "$with_pcap" ; then
        V_PCAP="$withval"
-elif test -r /dev/bpf0 ; then
+elif test -r /dev/bpf0 || test -r /usr/include/net/bpf.h ; then
        V_PCAP=bpf
 elif test -r /usr/include/net/pfilt.h ; then
        V_PCAP=pf
only in patch2:
unchanged:
--- libpcap0.9-0.9.0.cvs.20050614.orig/configure.in
+++ libpcap0.9-0.9.0.cvs.20050614/configure.in
@@ -184,7 +184,7 @@
 AC_MSG_CHECKING(packet capture type)
 if test ! -z "$with_pcap" ; then
        V_PCAP="$withval"
-elif test -r /dev/bpf0 ; then
+elif test -r /dev/bpf0 || test -r /usr/include/net/bpf.h ; then
        V_PCAP=bpf
 elif test -r /usr/include/net/pfilt.h ; then
        V_PCAP=pf

Reply via email to