1*34f44591SDon Lewisdiff -ur misc/libxml2-2.9.10/include/libxml/xmlversion.h misc/build/libxml2-2.9.10/include/libxml/xmlversion.h
2*34f44591SDon Lewis--- misc/libxml2-2.9.10/include/libxml/xmlversion.h	2018-03-05 07:54:29.000000000 -0800
3*34f44591SDon Lewis+++ misc/build/libxml2-2.9.10/include/libxml/xmlversion.h	2018-08-22 22:53:15.488158000 -0700
4*34f44591SDon Lewis@@ -270,7 +270,7 @@
5cdf0e10cSrcweir  *
6cdf0e10cSrcweir  * Whether iconv support is available
7cdf0e10cSrcweir  */
8cdf0e10cSrcweir-#if 1
9cdf0e10cSrcweir+#if 0
10cdf0e10cSrcweir #define LIBXML_ICONV_ENABLED
11cdf0e10cSrcweir #endif
12cdf0e10cSrcweir
13*34f44591SDon Lewis@@ -297,7 +297,7 @@
14cdf0e10cSrcweir  *
15cdf0e10cSrcweir  * Whether Debugging module is configured in
16cdf0e10cSrcweir  */
17cdf0e10cSrcweir-#if 1
18cdf0e10cSrcweir+#if 0
19cdf0e10cSrcweir #define LIBXML_DEBUG_ENABLED
20cdf0e10cSrcweir #endif
21cdf0e10cSrcweir
22*34f44591SDon Lewisdiff -ur misc/libxml2-2.9.10/xml2-config.in misc/build/libxml2-2.9.10/xml2-config.in
23*34f44591SDon Lewis--- misc/libxml2-2.9.10/xml2-config.in	2016-06-07 03:04:14.000000000 -0700
24*34f44591SDon Lewis+++ misc/build/libxml2-2.9.10/xml2-config.in	2019-11-07 22:50:00.185459398 -0800
25cdf0e10cSrcweir@@ -1,9 +1,14 @@
26cdf0e10cSrcweir #! /bin/sh
27cdf0e10cSrcweir
28cdf0e10cSrcweir-prefix=@prefix@
29cdf0e10cSrcweir-exec_prefix=@exec_prefix@
30cdf0e10cSrcweir-includedir=@includedir@
31cdf0e10cSrcweir-libdir=@libdir@
32cdf0e10cSrcweir+#prefix=@prefix@
33cdf0e10cSrcweir+#exec_prefix=@exec_prefix@
34cdf0e10cSrcweir+#includedir=@includedir@
35cdf0e10cSrcweir+#libdir=@libdir@
36cdf0e10cSrcweir+
37cdf0e10cSrcweir+prefix=${SOLARVERSION}/${INPATH}
38cdf0e10cSrcweir+exec_prefix=${SOLARVERSION}/${INPATH}
39cdf0e10cSrcweir+includedir=${SOLARVERSION}/${INPATH}/inc${UPDMINOREXT}/external
40cdf0e10cSrcweir+libdir=${SOLARVERSION}/${INPATH}/lib${UPDMINOREXT}
41cdf0e10cSrcweir
42cdf0e10cSrcweir usage()
43cdf0e10cSrcweir {
44*34f44591SDon Lewis@@ -65,7 +70,8 @@
45cdf0e10cSrcweir 	;;
46cdf0e10cSrcweir
47cdf0e10cSrcweir     --cflags)
48*34f44591SDon Lewis-        cflags="@XML_INCLUDEDIR@ @XML_CFLAGS@"
49*34f44591SDon Lewis+        cflags="-I${includedir}"
50*34f44591SDon Lewis+#        cflags="@XML_INCLUDEDIR@ @XML_CFLAGS@"
51cdf0e10cSrcweir        	;;
52cdf0e10cSrcweir
53cdf0e10cSrcweir     --libtool-libs)
54*34f44591SDon Lewis@@ -80,18 +86,19 @@
55cdf0e10cSrcweir        	;;
56cdf0e10cSrcweir
57cdf0e10cSrcweir     --libs)
58*34f44591SDon Lewis-        if [ "$2" = "--dynamic" ]; then
59*34f44591SDon Lewis-            shift
60*34f44591SDon Lewis-            libs="@XML_LIBS@"
61*34f44591SDon Lewis-        else
62*34f44591SDon Lewis-            libs="@XML_LIBS@ @XML_PRIVATE_LIBS@ @MODULE_PLATFORM_LIBS@"
63*34f44591SDon Lewis-        fi
64*34f44591SDon Lewis-
65*34f44591SDon Lewis-        if [ "@XML_LIBDIR@" != "-L/usr/lib" -a "@XML_LIBDIR@" != "-L/usr/lib64" ]; then
66*34f44591SDon Lewis-            libs="@XML_LIBDIR@ $libs"
67*34f44591SDon Lewis-        fi
68*34f44591SDon Lewis-
69*34f44591SDon Lewis-        libs="$libs @WIN32_EXTRA_LIBADD@"
70*34f44591SDon Lewis+        libs="-L${libdir} ${LIBXML2LIB} -lm"
71*34f44591SDon Lewis+        if [ "$2" = "--dynamic" ]; then
72*34f44591SDon Lewis+            shift
73*34f44591SDon Lewis+#            libs="@XML_LIBS@"
74*34f44591SDon Lewis+#        else
75*34f44591SDon Lewis+#            libs="@XML_LIBS@ @XML_PRIVATE_LIBS@ @MODULE_PLATFORM_LIBS@"
76*34f44591SDon Lewis+        fi
77*34f44591SDon Lewis+#
78*34f44591SDon Lewis+#        if [ "@XML_LIBDIR@" != "-L/usr/lib" -a "@XML_LIBDIR@" != "-L/usr/lib64" ]; then
79*34f44591SDon Lewis+#            libs="@XML_LIBDIR@ $libs"
80*34f44591SDon Lewis+#        fi
81*34f44591SDon Lewis+#
82*34f44591SDon Lewis+#        libs="$libs @WIN32_EXTRA_LIBADD@"
83*34f44591SDon Lewis         ;;
84cdf0e10cSrcweir
85cdf0e10cSrcweir     *)
86