openbsd-ports/net/mtr/patches/patch-configure
jasper 3f4dfdfa24 - update mtr to 0.80
"go ahead" jakob@ (MAINTAINER)
2010-08-19 16:56:45 +00:00

28 lines
818 B
Plaintext

--- configure.orig Thu Aug 19 16:17:49 2010
+++ configure Thu Aug 19 16:18:59 2010
@@ -7836,6 +7836,7 @@ cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
+#include <sys/types.h>
#include <netinet/in.h>
#ifdef HAVE_SOCKET_H
#include <socket.h>
@@ -7907,6 +7908,7 @@ cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
+#include <sys/types.h>
#include <netinet/in.h>
@@ -7993,7 +7995,7 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
- warning_CFLAGS="${warning_CFLAGS} -Wno-pointer-sign"
+ warning_CFLAGS="${warning_CFLAGS}"
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5