1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

Fix build with TP_PF option enabled with clang

Approved by:	portmgr (mat)
This commit is contained in:
Renato Botelho 2014-02-18 13:11:07 +00:00
parent 7bba8db505
commit d3744436b8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=344883
2 changed files with 42 additions and 10 deletions

View File

@ -1,5 +1,5 @@
--- configure.orig 2012-10-21 18:10:03.000000000 +0200
+++ configure 2012-10-21 18:27:39.000000000 +0200
--- configure.orig 2013-07-13 10:23:28.000000000 -0300
+++ configure 2014-02-18 01:53:05.000000000 -0300
@@ -18416,7 +18416,7 @@
GCCVER2=`echo $GCCVER | awk '{print $1 * 100}'`
case "$host" in
@ -62,3 +62,19 @@
cstdlib \
cstring \
list \
@@ -24341,12 +24342,12 @@
#if HAVE_NETINET_IP_H
#include <netinet/ip.h>
#endif
-#if HAVE_NETINET_IP_COMPAT_H
-#include <netinet/ip_compat.h>
-#endif
#if HAVE_NET_IF_H
#include <net/if.h>
#endif
+#if HAVE_NETINET_IP_COMPAT_H
+#include <netinet/ip_compat.h>
+#endif
#if HAVE_NETINET_IP_FIL_H
#include <netinet/ip_fil.h>
#endif

View File

@ -1,6 +1,6 @@
--- configure.orig 2013-03-12 11:18:22.000000000 +0100
+++ configure 2013-04-09 11:43:01.000000000 +0200
@@ -22798,7 +22798,7 @@
--- configure.orig 2013-11-30 07:56:05.000000000 -0600
+++ configure 2014-02-12 10:53:47.000000000 -0600
@@ -22964,7 +22964,7 @@
done
@ -9,7 +9,7 @@
for ac_header in gssapi/gssapi_generic.h
do :
ac_fn_cxx_check_header_mongrel "$LINENO" "gssapi/gssapi_generic.h" "ac_cv_header_gssapi_gssapi_generic_h" "$ac_includes_default"
@@ -22995,7 +22995,7 @@
@@ -23161,7 +23161,7 @@
ac_com_error_message=no
@ -18,7 +18,7 @@
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <com_err.h>
@@ -23007,7 +23007,7 @@
@@ -23173,7 +23173,7 @@
fi
rm -f conftest*
@ -27,7 +27,7 @@
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <et/com_err.h>
@@ -23068,7 +23068,7 @@
@@ -23234,7 +23234,7 @@
fi
@ -36,7 +36,7 @@
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for error_message in -lcom_err" >&5
$as_echo_n "checking for error_message in -lcom_err... " >&6; }
if ${ac_cv_lib_com_err_error_message+:} false; then :
@@ -23111,7 +23111,7 @@
@@ -23277,7 +23277,7 @@
fi
@ -45,7 +45,7 @@
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for error_message in -lkrb5" >&5
$as_echo_n "checking for error_message in -lkrb5... " >&6; }
if ${ac_cv_lib_krb5_error_message+:} false; then :
@@ -24704,6 +24704,7 @@
@@ -24870,6 +24870,7 @@
cassert \
crypt.h \
cstdarg \
@ -53,3 +53,19 @@
cstdlib \
cstring \
list \
@@ -25178,12 +25179,12 @@
#if HAVE_NETINET_IP_H
#include <netinet/ip.h>
#endif
-#if HAVE_NETINET_IP_COMPAT_H
-#include <netinet/ip_compat.h>
-#endif
#if HAVE_NET_IF_H
#include <net/if.h>
#endif
+#if HAVE_NETINET_IP_COMPAT_H
+#include <netinet/ip_compat.h>
+#endif
#if HAVE_NETINET_IP_FIL_H
#include <netinet/ip_fil.h>
#endif