summaryrefslogtreecommitdiff
path: root/net/ns/patches/patch-af
blob: 46885179c9bd9d8f64f48f7c80d1a8ff9c222894 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
$NetBSD: patch-af,v 1.9 2011/01/25 22:22:14 shattered Exp $

--- configure.orig	2008-03-31 19:00:25.000000000 -0700
+++ configure
@@ -5836,7 +5836,7 @@ powerpc-apple-darwin*)
 esac
 
 
-xlibdirs="\
+xlibdirs="${X11LIBDIR} \
 	/usr/openwin/lib \
 	/usr/X11R6/lib \
 	/usr/lib/X11R6 \
@@ -5851,7 +5851,7 @@ xlibdirs="\
 	/Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/lib \
 	/import/X11R4/usr/lib"
 
-xincdirs="\
+xincdirs="${X11INCDIR} \
 	/usr/openwin/include \
 	/usr/X11R6/include \
 	/usr/include/X11R6 \
@@ -6906,7 +6906,7 @@ 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=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 if eval "test \"\${$as_ac_Header+set}\" = set"; then