mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-03 17:59:07 -04:00
93 lines
2.2 KiB
Plaintext
93 lines
2.2 KiB
Plaintext
$NetBSD: patch-af,v 1.11 2012/12/15 22:07:32 markd Exp $
|
|
|
|
- provide pkgsrc's X11 dirs
|
|
- check for more ethernet headers
|
|
|
|
--- configure.orig 2011-11-04 17:29:46.000000000 +0000
|
|
+++ configure
|
|
@@ -5548,6 +5548,7 @@ TCL_H_PLACES_D="$d/generic \
|
|
$d/include/tcl$TCL_VERS \
|
|
$d/include/tcl$TCL_ALT_VERS \
|
|
$d/include \
|
|
+ $d/include/tcl/generic \
|
|
/usr/local/include \
|
|
"
|
|
TCL_H_PLACES=" \
|
|
@@ -7003,7 +7004,7 @@ powerpc-apple-darwin*)
|
|
esac
|
|
|
|
|
|
-xlibdirs="\
|
|
+xlibdirs="${X11LIBDIR} \
|
|
/usr/openwin/lib \
|
|
/usr/X11R6/lib \
|
|
/usr/lib/X11R6 \
|
|
@@ -7020,7 +7021,7 @@ xlibdirs="\
|
|
/Developer/SDKs/MacOSX10.6.sdk/usr/X11R6/lib \
|
|
/import/X11R4/usr/lib"
|
|
|
|
-xincdirs="\
|
|
+xincdirs="${X11INCDIR} \
|
|
/usr/openwin/include \
|
|
/usr/X11R6/include \
|
|
/usr/include/X11R6 \
|
|
@@ -7899,7 +7900,7 @@ $as_echo "#define STDC_HEADERS 1" >>conf
|
|
fi
|
|
|
|
|
|
-for ac_header in arpa/inet.h fenv.h netinet/in.h string.h strings.h time.h unistd.h net/ethernet.h
|
|
+for ac_header in arpa/inet.h fenv.h netinet/in.h string.h strings.h time.h unistd.h net/if.h net/ethernet.h netinet/if_ether.h sys/socket.h
|
|
do :
|
|
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
|
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
|
|
@@ -8838,7 +8839,24 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_
|
|
/* end confdefs.h. */
|
|
|
|
#include <stdio.h>
|
|
+#ifdef HAVE_SYS_TYPES_H
|
|
+#include <sys/types.h>
|
|
+#endif
|
|
+#ifdef HAVE_SYS_SOCKET_H
|
|
+#include <sys/socket.h>
|
|
+#endif
|
|
+#ifdef HAVE_NETINET_IN_H
|
|
+#include <netinet/in.h>
|
|
+#endif
|
|
+#ifdef HAVE_NET_IF_H
|
|
+#include <net/if.h>
|
|
+#endif
|
|
+#ifdef HAVE_NET_ETHERNET_H
|
|
#include <net/ethernet.h>
|
|
+#endif
|
|
+#ifdef HAVE_NETINET_IF_ETHER_H
|
|
+#include <netinet/if_ether.h>
|
|
+#endif
|
|
|
|
int
|
|
main ()
|
|
@@ -8877,7 +8895,24 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_
|
|
/* end confdefs.h. */
|
|
|
|
#include <stdio.h>
|
|
+#ifdef HAVE_SYS_TYPES_H
|
|
+#include <sys/types.h>
|
|
+#endif
|
|
+#ifdef HAVE_SYS_SOCKET_H
|
|
+#include <sys/socket.h>
|
|
+#endif
|
|
+#ifdef HAVE_NETINET_IN_H
|
|
+#include <netinet/in.h>
|
|
+#endif
|
|
+#ifdef HAVE_NET_IF_H
|
|
+#include <net/if.h>
|
|
+#endif
|
|
+#ifdef HAVE_NET_ETHERNET_H
|
|
#include <net/ethernet.h>
|
|
+#endif
|
|
+#ifdef HAVE_NETINET_IF_ETHER_H
|
|
+#include <netinet/if_ether.h>
|
|
+#endif
|
|
|
|
int
|
|
main ()
|