Hi!
Based on what Roman said, I prepared a patch with the correct includes.
This fixes the FTBFS correctly.
I will upload this fix to sid, following the 0-day NMU policy. Please see
this as an effort to help keeping the packages in good shape.
I'm attaching the full interdiff output, which is basically the ChangeLog
entry, and a patch added to the debian/patches which removes the
<net/bpf.h> line in one case (<pcap.h> was already there) and replaces it
for <pcap.h> in the other case.
--
Love,
Maggie.
diff -u tcpslice-1.2a3/debian/changelog tcpslice-1.2a3/debian/changelog
--- tcpslice-1.2a3/debian/changelog
+++ tcpslice-1.2a3/debian/changelog
@@ -1,3 +1,12 @@
+tcpslice (1.2a3-2.1) unstable; urgency=low
+
+ * Non-maintainer upload to fix Failure To Build From Source.
+ * Added debian/patches/03_bpf_h.patch, to take into account the
+ new include files in libpcap-0.8, thanks to Romain Francoise for the
+ help. (Closes: #439458)
+
+ -- Margarita Manterola <[EMAIL PROTECTED]> Tue, 11 Sep 2007 11:18:04 -0300
+
tcpslice (1.2a3-2) unstable; urgency=low
* Convert build system to cdbs.
only in patch2:
unchanged:
--- tcpslice-1.2a3.orig/debian/patches/03_bpf_h.patch
+++ tcpslice-1.2a3/debian/patches/03_bpf_h.patch
@@ -0,0 +1,24 @@
+diff -Naru tcpslice-1.2a3/tcpslice.c tcpslice-patched/tcpslice.c
+--- tcpslice-1.2a3/tcpslice.c 2005-10-24 19:06:26.000000000 -0300
++++ tcpslice-patched/tcpslice.c 2007-09-11 11:27:23.000000000 -0300
+@@ -35,8 +35,6 @@
+ #include <sys/file.h>
+ #include <sys/stat.h>
+
+-#include <net/bpf.h>
+-
+ #include <ctype.h>
+ #ifdef HAVE_FCNTL_H
+ #include <fcntl.h>
+diff -Naru tcpslice-1.2a3/tcpslice.h tcpslice-patched/tcpslice.h
+--- tcpslice-1.2a3/tcpslice.h 2007-09-11 11:48:04.000000000 -0300
++++ tcpslice-patched/tcpslice.h 2007-09-11 11:49:06.000000000 -0300
+@@ -21,7 +21,7 @@
+
+
+ #include <time.h>
+-#include <net/bpf.h>
++#include <pcap.h>
+
+ /*
+ * This is a timeval as stored in disk in a dumpfile.