diff options
author | Rüdiger Timm <rt@openoffice.org> | 2008-06-06 10:48:45 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2008-06-06 10:48:45 +0000 |
commit | 5e4855346a9a749094c27c7ed3eafa6f84844f6f (patch) | |
tree | 7e37c783c14179a2a45386f3c0b7a93486220719 /libxml2 | |
parent | 7816505196be979a9e8ab45e5faa4837fe7b0bde (diff) |
INTEGRATION: CWS xmlfix2 (1.1.2); FILE ADDED
2008/04/08 16:08:00 mst 1.1.2.4: - libxml2/libxml2-2.6.31.patch:
+ add the win32-only header "wspiapi.h" to wsockcompat.h instead of
nanohttp.cxx
2008/04/02 11:45:21 mst 1.1.2.3: - libxml2/libxml2-2.6.31.patch, libxml2/makefile.mk, libxml2/prj/d.lst:
+ patch and install xml2-config
2008/03/31 17:16:34 mst 1.1.2.2: make libxml 2.6.31 build on wntmsci11
- libxml2/libxml2-2.6.31.patch:
+ add the win32-only header "Wspiapi.h" to nanohttp.cxx
2008/03/31 14:55:53 mst 1.1.2.1: upgrade libxml2 to version 2.6.31
- libxml2/download/libxml2-2.6.17.tar.gz, libxml2/libxml2-2.6.17{-mingw}.patch:
+ removed
- libxml2/download/libxml2-2.6.31.tar.gz, libxml2/libxml2-2.6.31.patch:
+ added
- libxml2/makefile.mk:
+ updated
Diffstat (limited to 'libxml2')
-rw-r--r-- | libxml2/libxml2-2.6.31.patch | 284 |
1 files changed, 284 insertions, 0 deletions
diff --git a/libxml2/libxml2-2.6.31.patch b/libxml2/libxml2-2.6.31.patch new file mode 100644 index 000000000000..53f35c1915ee --- /dev/null +++ b/libxml2/libxml2-2.6.31.patch @@ -0,0 +1,284 @@ +*** misc/libxml2-2.6.31/configure Fri Jan 11 09:01:56 2008 +--- misc/build/libxml2-2.6.31/configure Thu Mar 27 14:09:56 2008 +*************** +*** 3463,3477 **** + CFLAGS=$ac_save_CFLAGS + elif test $ac_cv_prog_cc_g = yes; then + if test "$GCC" = yes; then +! CFLAGS="-g -O2" + else +! CFLAGS="-g" + fi + else + if test "$GCC" = yes; then +! CFLAGS="-O2" + else +! CFLAGS= + fi + fi + { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 +--- 3463,3477 ---- + CFLAGS=$ac_save_CFLAGS + elif test $ac_cv_prog_cc_g = yes; then + if test "$GCC" = yes; then +! CFLAGS="$ADDCFLAGS -g -O2" + else +! CFLAGS="$ADDCFLAGS -g" + fi + else + if test "$GCC" = yes; then +! CFLAGS="$ADDCFLAGS -O2" + else +! CFLAGS="$ADDCFLAGS" + fi + fi + { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 +*************** +*** 26207,26215 **** + + { echo "$as_me:$LINENO: checking for library containing setsockopt" >&5 + echo $ECHO_N "checking for library containing setsockopt... $ECHO_C" >&6; } +! if test "${ac_cv_search_setsockopt+set}" = set; then +! echo $ECHO_N "(cached) $ECHO_C" >&6 +! else + ac_func_search_save_LIBS=$LIBS + cat >conftest.$ac_ext <<_ACEOF + /* confdefs.h. */ +--- 26207,26215 ---- + + { echo "$as_me:$LINENO: checking for library containing setsockopt" >&5 + echo $ECHO_N "checking for library containing setsockopt... $ECHO_C" >&6; } +! #if test "${ac_cv_search_setsockopt+set}" = set; then +! # echo $ECHO_N "(cached) $ECHO_C" >&6 +! #else + ac_func_search_save_LIBS=$LIBS + cat >conftest.$ac_ext <<_ACEOF + /* confdefs.h. */ +*************** +*** 26279,26285 **** + fi + rm conftest.$ac_ext + LIBS=$ac_func_search_save_LIBS +! fi + { echo "$as_me:$LINENO: result: $ac_cv_search_setsockopt" >&5 + echo "${ECHO_T}$ac_cv_search_setsockopt" >&6; } + ac_res=$ac_cv_search_setsockopt +--- 26279,26285 ---- + fi + rm conftest.$ac_ext + LIBS=$ac_func_search_save_LIBS +! #fi + { echo "$as_me:$LINENO: result: $ac_cv_search_setsockopt" >&5 + echo "${ECHO_T}$ac_cv_search_setsockopt" >&6; } + ac_res=$ac_cv_search_setsockopt +*** misc/libxml2-2.6.31/ltmain.sh Wed Aug 29 14:28:46 2007 +--- misc/build/libxml2-2.6.31/ltmain.sh Thu Mar 27 13:54:03 2008 +*************** +*** 3311,3318 **** + ;; + + freebsd-elf) +! major=".$current" +! versuffix=".$current"; + ;; + + irix | nonstopux) +--- 3311,3318 ---- + ;; + + freebsd-elf) +! major=.`expr $current - $age` +! versuffix=".$major.$age.$revision"; + ;; + + irix | nonstopux) +*** misc/libxml2-2.6.31/xml2-config.in Fri Jan 11 08:22:32 2008 +--- misc/build/libxml2-2.6.31/xml2-config.in Wed Apr 2 11:56:17 2008 +*************** +*** 1,10 **** + #! /bin/sh + +! prefix=@prefix@ +! exec_prefix=@exec_prefix@ +! includedir=@includedir@ +! libdir=@libdir@ + + usage() + { + cat <<EOF +--- 1,15 ---- + #! /bin/sh + +! #prefix=@prefix@ +! #exec_prefix=@exec_prefix@ +! #includedir=@includedir@ +! #libdir=@libdir@ + ++ prefix=${SOLARVERSION}/${INPATH} ++ exec_prefix=${SOLARVERSION}/${INPATH} ++ includedir=${SOLARVERSION}/${INPATH}/inc${UPDMINOREXT}/external ++ libdir=${SOLARVERSION}/${INPATH}/lib${UPDMINOREXT} ++ + usage() + { + cat <<EOF +*************** +*** 67,73 **** + ;; + + --cflags) +! echo @XML_INCLUDEDIR@ @XML_CFLAGS@ + ;; + + --libtool-libs) +--- 72,79 ---- + ;; + + --cflags) +! echo -I${includedir} +! # echo @XML_INCLUDEDIR@ @XML_CFLAGS@ + ;; + + --libtool-libs) +*************** +*** 82,100 **** + ;; + + --libs) +! if [ "`uname`" = "Linux" ] +! then +! if [ "@XML_LIBDIR@" = "-L/usr/lib" -o "@XML_LIBDIR@" = "-L/usr/lib64" ] +! then +! echo @XML_LIBS@ +! else +! echo @XML_LIBDIR@ @XML_LIBS@ +! fi +! else +! echo @XML_LIBDIR@ @XML_LIBS@ @WIN32_EXTRA_LIBADD@ +! fi + ;; + + *) + usage + exit 1 +--- 88,111 ---- + ;; + + --libs) +! echo -L${libdir} ${LIBXML2LIB} ${ZLIB3RDLIB} -lm +! # if [ "`uname`" = "Linux" ] +! # then +! # if [ "@XML_LIBDIR@" = "-L/usr/lib" -o "@XML_LIBDIR@" = "-L/usr/lib64" ] +! # then +! # echo @XML_LIBS@ +! # else +! # echo @XML_LIBDIR@ @XML_LIBS@ +! # fi +! # else +! # echo @XML_LIBDIR@ @XML_LIBS@ @WIN32_EXTRA_LIBADD@ +! # fi + ;; + ++ print) # ugly configure hack ++ exit 0 ++ ;; ++ + *) + usage + exit 1 +*** misc/libxml2-2.6.31/include/win32config.h Wed Apr 18 09:51:54 2007 +--- misc/build/libxml2-2.6.31/include/win32config.h Mon Mar 31 19:09:09 2008 +*************** +*** 92,98 **** +--- 92,100 ---- + #if defined(_MSC_VER) + #define mkdir(p,m) _mkdir(p) + #define snprintf _snprintf ++ #if _MSC_VER < 1500 + #define vsnprintf(b,c,f,a) _vsnprintf(b,c,f,a) ++ #endif + #elif defined(__MINGW32__) + #define mkdir(p,m) _mkdir(p) + #endif +*** misc/libxml2-2.6.31/include/wsockcompat.h Wed Jan 3 14:07:30 2007 +--- misc/build/libxml2-2.6.31/include/wsockcompat.h Thu Apr 3 10:15:50 2008 +*************** +*** 21,26 **** +--- 21,27 ---- + + /* Check if ws2tcpip.h is a recent version which provides getaddrinfo() */ + #if defined(GetAddrInfo) ++ #include <wspiapi.h> + #define HAVE_GETADDRINFO + #endif + #endif +*** misc/libxml2-2.6.31/include/libxml/xmlversion.h Fri Jan 11 10:11:19 2008 +--- misc/build/libxml2-2.6.31/include/libxml/xmlversion.h Thu Mar 27 13:54:03 2008 +*************** +*** 264,270 **** + * + * Whether iconv support is available + */ +! #if 1 + #define LIBXML_ICONV_ENABLED + #endif + +--- 264,270 ---- + * + * Whether iconv support is available + */ +! #if 0 + #define LIBXML_ICONV_ENABLED + #endif + +*************** +*** 282,288 **** + * + * Whether Debugging module is configured in + */ +! #if 1 + #define LIBXML_DEBUG_ENABLED + #endif + +--- 282,288 ---- + * + * Whether Debugging module is configured in + */ +! #if 0 + #define LIBXML_DEBUG_ENABLED + #endif + +*************** +*** 291,297 **** + * + * Whether the memory debugging is configured in + */ +! #if 1 + #define DEBUG_MEMORY_LOCATION + #endif + +--- 291,297 ---- + * + * Whether the memory debugging is configured in + */ +! #if 0 + #define DEBUG_MEMORY_LOCATION + #endif + +*************** +*** 300,306 **** + * + * Whether the runtime debugging is configured in + */ +! #if 1 + #define LIBXML_DEBUG_RUNTIME + #endif + +--- 300,306 ---- + * + * Whether the runtime debugging is configured in + */ +! #if 0 + #define LIBXML_DEBUG_RUNTIME + #endif + |