freebsd-ports/textproc/libxml2/files/patch-ab
2001-02-10 19:15:43 +00:00

32 lines
767 B
Text

$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; }