Commit a6f350c0 authored by Frederick Zhang's avatar Frederick Zhang
Browse files

libxml2

parent b301e2ff
......@@ -108,6 +108,18 @@ RUN make && make install
#RUN tar xf libpsl-0.17.0.tar.gz
#WORKDIR /builds/libpsl-0.17.0
# LIBXML2
WORKDIR /builds
RUN curl -O -J ftp://xmlsoft.org/libxml2/libxml2-2.9.4.tar.gz
RUN tar xf libxml2-2.9.4.tar.gz
WORKDIR /builds/libxml2-2.9.4
RUN patch -Np0 -i /apps/patches/libxml2/mingw32-libxml2-static-build-compile-fix.patch
RUN patch -Np1 -i /apps/patches/libxml2/libxml2-no-test.patch
RUN sed -i "s| doc example | |g" Makefile.am
RUN autoreconf -vfi
RUN LIBS="-lz" LDFLAGS="-L/usr/x86_64-w64-mingw32/lib" ./configure --without-python --host=x86_64-w64-mingw32 --prefix=/usr/x86_64-w64-mingw32
RUN make && make install
# CURL
# to be improved
WORKDIR /builds
......
This diff is collapsed.
--- threads.c.orig 2009-09-10 17:03:39.000000000 +0200
+++ threads.c 2009-09-11 19:00:59.660192916 +0200
@@ -993,7 +993,7 @@
#elif defined(HAVE_WIN32_THREADS) && !defined(HAVE_COMPILER_TLS) && (!defined(LIBXML_STATIC) || defined(LIBXML_STATIC_FOR_DLL))
#if defined(LIBXML_STATIC_FOR_DLL)
BOOL XMLCALL
-xmlDllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
+xmlDllMain(void *hinstDLL, unsigned long fdwReason, void *lpvReserved)
#else
BOOL WINAPI
DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment