A little refinement should solve the failure also
on GNU/kFreeBSD. I tested this successfully on
kfreebsd-amd64.

The use of "-Wno-pointer-sign" silences an embarrasing
number of misuses of "_u8 *" where "char *" was expected.

Best regards,
  Mats Erik Andersson, DM


$ ln -s Linux p0f_2.0.8/mk/Hurd
$ ln -s Linux p0f_2.0.8/mk/kFreeBSD

--- p0f.orig/Build      2006-03-16 08:44:34.000000000 +0100
+++ p0f/Build   2012-03-23 21:18:09.134359254 +0100
@@ -10,7 +10,7 @@
 #
 
 
-SYSTEM=`uname -s 2>/dev/null`
+SYSTEM=`uname -s 2>/dev/null | sed 's,.*/,,'`
 
 test "$SYSTEM" = "" && SYSTEM="unknown"
 test -f /lib/libcygwin.a && SYSTEM=CYGWIN
--- p0f.orig/mk/Linux   2006-08-21 14:37:00.000000000 +0200
+++ p0f/mk/Linux        2012-03-23 21:17:27.014080280 +0100
@@ -10,7 +10,7 @@
 CC      = gcc
 LIBS   = -lpcap
 STRIP   = strip
-CFLAGS  = -O3 -Wall -fomit-frame-pointer -funroll-loops \
+CFLAGS  = -O3 -Wall -Wno-pointer-sign -fomit-frame-pointer -funroll-loops \
           -DUSE_BPF=\"${USE_BPF}\" \
          -I/usr/include/pcap -I/usr/local/include/pcap -I/usr/local/include
 FILE   = p0f
-- 
Mats Erik Andersson, fil. dr
<mats.anders...@gisladisker.se>
2459 41E9 C420 3F6D F68B  2E88 F768 4541 F25B 5D41

Abonnerar på: debian-mentors, debian-devel-games, debian-perl,
              debian-ipv6, debian-qa



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to