Re: Bug#671064 closed by Hilko Bengen <firstname.lastname@example.org> (Bug#671064: fixed in nmap 5.51.6-0.3)
On 31/05/12 00:21, Debian Bug Tracking System wrote:
> #671064: nmap: FTBFS[kfreebsd]: error: 'CLOCK_MONOTONIC' undeclared
> It has been closed by Hilko Bengen <email@example.com>.
Ah, I'm too late! I just came up with a patch to fix the testcase that
caused both these issues. I've attached it anyway in case this problem
comes back. Requires an autoconf rebuild of nping/configure
nmap 5.51.6-0.3 built fine anyway when I tested on kfreebsd-i386.
Thanks a lot for fixing it!
--- nmap-5.51.6.orig/acinclude.m4 2010-04-21 00:22:48.000000000 +0100
+++ nmap-5.51.6/acinclude.m4 2012-05-31 00:58:02.882792114 +0100
@@ -32,7 +32,7 @@
dnl around in libpcap 1.1.0 and later; but before that we must use our own copy.
- AC_CHECK_HEADERS(sys/ioccom.h sys/time.h net/bpf.h)
+ AC_CHECK_HEADERS(sys/ioccom.h sys/time.h sys/types.h net/bpf.h)
AC_MSG_CHECKING(if libpcap is suitable)
@@ -57,6 +57,9 @@