aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/libxml2/files/patch-ab
blob: 752788d6c57b10e68953cf9245cb396746ecd0cb (plain) (blame)
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
32
$FreeBSD$

--- configure.orig	Thu Feb  8 13:39:59 2001
+++ configure	Fri Feb  9 23:40:58 2001
@@ -3474,7 +3474,7 @@
 
 
 XML_LIBDIR='-L${libdir}'
-XML_INCLUDEDIR='-I${includedir}/libxml -I${includedir}'
+XML_INCLUDEDIR='-I${includedir}/libxml2 -I${includedir}/libxml2/libxml'
 XML_LIBS="-lxml2 $Z_LIBS $M_LIBS $LIBS"
 
 XML_CFLAGS=""
@@ -3871,7 +3871,7 @@
 /* Override any gcc2 internal prototype to avoid an error.  */
 /* We use char because int might match the return type of a gcc2
     builtin and then its argument prototype would still apply.  */
-char $ac_func();
+char lib$ac_func();
 
 int main() {
 
@@ -3881,7 +3881,7 @@
 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 choke me
 #else
-$ac_func();
+lib$ac_func();
 #endif
 
 ; return 0; }