freebsd-ports/textproc/libxml2/files/patch-ab
2001-05-06 07:50:01 +00:00

54 lines
1.3 KiB
Text

$FreeBSD$
--- configure.orig Thu May 3 14:34:45 2001
+++ configure Sun May 6 10:40:20 2001
@@ -3536,7 +3536,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 -lm $LIBS"
XML_CFLAGS=""
@@ -3819,7 +3819,7 @@
fi
-if "${NEED_TRIO}" = "1"; then
+if test "${NEED_TRIO}" = "1"; then
WITH_TRIO_SOURCES_TRUE=
WITH_TRIO_SOURCES_FALSE='#'
else
@@ -4003,7 +4003,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 iconv();
+char libiconv();
int main() {
@@ -4013,7 +4013,7 @@
#if defined (__stub_iconv) || defined (__stub___iconv)
choke me
#else
-iconv();
+libiconv();
#endif
; return 0; }
@@ -4049,10 +4049,10 @@
/* 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 iconv();
+char libiconv();
int main() {
-iconv()
+libiconv()
; return 0; }
EOF
if { (eval echo configure:4059: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then