Package: wackamole Version: 2.1.1-3.1 Severity: important Tags: patch User: debian-...@lists.debian.org Usertags: kfreebsd
Hi, the current version fails to build on GNU/kFreeBSD. It needs small tweaks, see bellow. It would also be nice if you can ask upstream to include this changes. Thanks in advance Petr only in patch2: unchanged: --- wackamole-2.1.1.orig/configure.in +++ wackamole-2.1.1/configure.in @@ -331,8 +331,6 @@ AC_MSG_CHECKING([for BPF]) if test -c "/dev/bpf0" ; then AC_MSG_RESULT(yes) - AC_CHECK_LIB(pcap, pcap_strerror, , - AC_MSG_ERROR([ *** Need libpcap for BPF ***])) AC_DEFINE(USE_BPF) IFE_OBJ="ife-bpf.o" else only in patch2: unchanged: --- wackamole-2.1.1.orig/ife-bpf.c +++ wackamole-2.1.1/ife-bpf.c @@ -33,7 +33,7 @@ _if_bpf = open(device, O_WRONLY); } while (_if_bpf < 0 && errno == EBUSY && n < 999); if(_if_bpf < 0) { - printf("%s: %s", device, (const char *)pcap_strerror(errno)); + printf("%s: %s", device, (const char *)strerror(errno)); exit (EXIT_FAILURE); } v = 32768; -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org