diff options
author | Mark Brand <mabrand@mabrand.nl> | 2011-11-06 19:28:42 (GMT) |
---|---|---|
committer | Mark Brand <mabrand@mabrand.nl> | 2011-11-06 19:28:42 (GMT) |
commit | 41f50d56eb059c27cf3de87dc1b6473e3d5b5462 (patch) | |
tree | 5eceab2ff8b0a180745cc5f8d138f4d5ae9e6686 | |
parent | 2dbdad70955cc2b1dfac55153a4c449d1ec840ce (diff) | |
download | mxe-41f50d56eb059c27cf3de87dc1b6473e3d5b5462.zip mxe-41f50d56eb059c27cf3de87dc1b6473e3d5b5462.tar.gz mxe-41f50d56eb059c27cf3de87dc1b6473e3d5b5462.tar.bz2 |
package gsoap: revert to v2.8.3
-rw-r--r-- | src/gsoap-1-fixes.patch | 144 | ||||
-rw-r--r-- | src/gsoap.mk | 10 |
2 files changed, 62 insertions, 92 deletions
diff --git a/src/gsoap-1-fixes.patch b/src/gsoap-1-fixes.patch index b1fb660..b60c110 100644 --- a/src/gsoap-1-fixes.patch +++ b/src/gsoap-1-fixes.patch @@ -3,95 +3,65 @@ See doc/index.html for further information. Contains ad hoc patches for cross building. -From a4e9166bc8d78b2aee3c25757d479d4c2e53c7be Mon Sep 17 00:00:00 2001 +From 35024d3ef8fb879a92de71b738ad985b6e8318af Mon Sep 17 00:00:00 2001 From: mingw-cross-env -Date: Sun, 23 Oct 2011 21:36:53 +0200 -Subject: [PATCH 1/2] support static linking to ntlm +Date: Mon, 19 Sep 2011 15:22:59 +0200 +Subject: [PATCH] bugfix for 2.8.3 from: + http://www.cs.fsu.edu/~engelen/soapbugs.html -diff --git a/configure b/configure -index ad1830d..be95edf 100755 ---- a/configure -+++ b/configure -@@ -4822,7 +4822,7 @@ case "${host}" in - ;; - *-*-cygwin*) platform=CYGWIN ;; - *-*-mingw*) platform=MINGW -- SAMPLE_EXTRA_LIBS="-lws2_32 -lkernel32 -luser32 -lgdi32" -+ SAMPLE_EXTRA_LIBS="-lntlm -lws2_32 -lkernel32 -luser32 -lgdi32" - ;; - *-*-freebsd*) platform=FREEBSD ;; - *-*-openbsd*) platform=OPENBSD ;; +diff --git a/gsoap/VisualStudio2005/wsdl2h/wsdl2h/stdsoap2.cpp b/gsoap/VisualStudio2005/wsdl2h/wsdl2h/stdsoap2.cpp +index 6f05170..f31676b 100644 +--- a/gsoap/VisualStudio2005/wsdl2h/wsdl2h/stdsoap2.cpp ++++ b/gsoap/VisualStudio2005/wsdl2h/wsdl2h/stdsoap2.cpp +@@ -8261,7 +8261,7 @@ soap_copy_context(struct soap *copy, const struct soap *soap) + soap_set_recv_logfile(copy, soap->logfile[SOAP_INDEX_RECV]); + #endif + copy->local_namespaces = NULL; +- soap_set_namespaces(copy, soap->local_namespaces); ++ soap_set_namespaces(copy, soap->namespaces); + #ifdef WITH_C_LOCALE + copy->c_locale = duplocale(soap->c_locale); + #else +diff --git a/gsoap/samples/calc_vs2005/calc_vs2005/stdsoap2.cpp b/gsoap/samples/calc_vs2005/calc_vs2005/stdsoap2.cpp +index 6f05170..f31676b 100644 +--- a/gsoap/samples/calc_vs2005/calc_vs2005/stdsoap2.cpp ++++ b/gsoap/samples/calc_vs2005/calc_vs2005/stdsoap2.cpp +@@ -8261,7 +8261,7 @@ soap_copy_context(struct soap *copy, const struct soap *soap) + soap_set_recv_logfile(copy, soap->logfile[SOAP_INDEX_RECV]); + #endif + copy->local_namespaces = NULL; +- soap_set_namespaces(copy, soap->local_namespaces); ++ soap_set_namespaces(copy, soap->namespaces); + #ifdef WITH_C_LOCALE + copy->c_locale = duplocale(soap->c_locale); + #else +diff --git a/gsoap/stdsoap2.c b/gsoap/stdsoap2.c +index 6f05170..f31676b 100644 +--- a/gsoap/stdsoap2.c ++++ b/gsoap/stdsoap2.c +@@ -8261,7 +8261,7 @@ soap_copy_context(struct soap *copy, const struct soap *soap) + soap_set_recv_logfile(copy, soap->logfile[SOAP_INDEX_RECV]); + #endif + copy->local_namespaces = NULL; +- soap_set_namespaces(copy, soap->local_namespaces); ++ soap_set_namespaces(copy, soap->namespaces); + #ifdef WITH_C_LOCALE + copy->c_locale = duplocale(soap->c_locale); + #else +diff --git a/gsoap/stdsoap2.cpp b/gsoap/stdsoap2.cpp +index 6f05170..f31676b 100644 +--- a/gsoap/stdsoap2.cpp ++++ b/gsoap/stdsoap2.cpp +@@ -8261,7 +8261,7 @@ soap_copy_context(struct soap *copy, const struct soap *soap) + soap_set_recv_logfile(copy, soap->logfile[SOAP_INDEX_RECV]); + #endif + copy->local_namespaces = NULL; +- soap_set_namespaces(copy, soap->local_namespaces); ++ soap_set_namespaces(copy, soap->namespaces); + #ifdef WITH_C_LOCALE + copy->c_locale = duplocale(soap->c_locale); + #else -- -1.7.7 - - -From da0eb2fc386be0fd914ef8f9a7d6bf73004ea230 Mon Sep 17 00:00:00 2001 -From: mingw-cross-env -Date: Mon, 24 Oct 2011 11:17:13 +0200 -Subject: [PATCH 2/2] ntlm support in .pc files - - -diff --git a/gsoap++.pc.in b/gsoap++.pc.in -index 035afd9..3411d55 100644 ---- a/gsoap++.pc.in -+++ b/gsoap++.pc.in -@@ -8,4 +8,4 @@ Description: SOAP C++ Web Services - Version: @VERSION@ - Requires: - Libs: -L${libdir} -lgsoap++ @SAMPLE_EXTRA_LIBS@ --Cflags: @SOAPCPP2_IPV6@ -DWITH_DOM -I${includedir} -+Cflags: @SOAPCPP2_IPV6@ -DWITH_DOM -DWITH_NTLM -I${includedir} -diff --git a/gsoap.pc.in b/gsoap.pc.in -index e2607aa..96a54b9 100644 ---- a/gsoap.pc.in -+++ b/gsoap.pc.in -@@ -8,4 +8,4 @@ Description: SOAP C Web Services - Version: @VERSION@ - Requires: - Libs: -L${libdir} -lgsoap @SAMPLE_EXTRA_LIBS@ --Cflags: @SOAPCPP2_IPV6@ -DWITH_DOM -I${includedir} -+Cflags: @SOAPCPP2_IPV6@ -DWITH_DOM -DWITH_NTLM -I${includedir} -diff --git a/gsoapck++.pc.in b/gsoapck++.pc.in -index cb03e2f..b349049 100644 ---- a/gsoapck++.pc.in -+++ b/gsoapck++.pc.in -@@ -8,4 +8,4 @@ Description: SOAP C++ Web Services with Cookies Enabled - Version: @VERSION@ - Requires: - Libs: -L${libdir} -lgsoapck++ @SAMPLE_EXTRA_LIBS@ --Cflags: @SOAPCPP2_IPV6@ -DWITH_COOKIES -DWITH_DOM -I${includedir} -+Cflags: @SOAPCPP2_IPV6@ -DWITH_COOKIES -DWITH_DOM -DWITH_NTLM -I${includedir} -diff --git a/gsoapck.pc.in b/gsoapck.pc.in -index 859a922..e5ce5eb 100644 ---- a/gsoapck.pc.in -+++ b/gsoapck.pc.in -@@ -8,4 +8,4 @@ Description: SOAP C Web Services with Cookies Enabled - Version: @VERSION@ - Requires: - Libs: -L${libdir} -lgsoapck @SAMPLE_EXTRA_LIBS@ --Cflags: @SOAPCPP2_IPV6@ -DWITH_COOKIES -DWITH_DOM -I${includedir} -+Cflags: @SOAPCPP2_IPV6@ -DWITH_COOKIES -DWITH_DOM -DWITH_NTLM -I${includedir} -diff --git a/gsoapssl++.pc.in b/gsoapssl++.pc.in -index 391d820..791408a 100644 ---- a/gsoapssl++.pc.in -+++ b/gsoapssl++.pc.in -@@ -8,4 +8,4 @@ Description: SOAP C++ Web Services with SSL and ZLIB - Version: @VERSION@ - Requires: - Libs: -L${libdir} -lgsoapssl++ @SAMPLE_SSL_LIBS@ @SAMPLE_EXTRA_LIBS@ --Cflags: @SOAPCPP2_IPV6@ -DWITH_OPENSSL -DWITH_DOM -DWITH_COOKIES -DWITH_GZIP -I${includedir} -+Cflags: @SOAPCPP2_IPV6@ -DWITH_OPENSSL -DWITH_DOM -DWITH_NTLM -DWITH_COOKIES -DWITH_GZIP -I${includedir} -diff --git a/gsoapssl.pc.in b/gsoapssl.pc.in -index 79c940a..17c9ee3 100644 ---- a/gsoapssl.pc.in -+++ b/gsoapssl.pc.in -@@ -8,4 +8,4 @@ Description: SOAP C Web Services with SSL and ZLIB - Version: @VERSION@ - Requires: - Libs: -L${libdir} -lgsoapssl @SAMPLE_SSL_LIBS@ @SAMPLE_EXTRA_LIBS@ --Cflags: @SOAPCPP2_IPV6@ -DWITH_OPENSSL -DWITH_DOM -DWITH_COOKIES -DWITH_GZIP -I${includedir} -+Cflags: @SOAPCPP2_IPV6@ -DWITH_OPENSSL -DWITH_DOM -DWITH_NTLM -DWITH_COOKIES -DWITH_GZIP -I${includedir} --- -1.7.7 +1.7.6.1 diff --git a/src/gsoap.mk b/src/gsoap.mk index 1e22716..5cdc6b2 100644 --- a/src/gsoap.mk +++ b/src/gsoap.mk @@ -4,17 +4,18 @@ # gSOAP PKG := gsoap $(PKG)_IGNORE := -$(PKG)_VERSION := 2.8.4 -$(PKG)_CHECKSUM := fea8734c83c2b5f9d07c44c556b27a6ce7ff0649 +$(PKG)_VERSION := 2.8.3 +$(PKG)_CHECKSUM := 55677239751253b48f448eb30a7585df97cba486 $(PKG)_SUBDIR := gsoap-$(call SHORT_PKG_VERSION,$(PKG)) $(PKG)_FILE := gsoap_$($(PKG)_VERSION).zip $(PKG)_WEBSITE := http://gsoap2.sourceforge.net/ $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/gsoap2/gSOAP/$($(PKG)_FILE) -$(PKG)_DEPS := gcc gnutls libgcrypt libntlm +$(PKG)_DEPS := gcc gnutls libgcrypt define $(PKG)_UPDATE wget -q -O- 'http://sourceforge.net/projects/gsoap2/files/gSOAP/' | \ $(SED) -n 's,.*gsoap_\([0-9][^>]*\)\.zip.*,\1,p' | \ + grep -v '2\.8\.4' | \ head -1 endef @@ -42,8 +43,7 @@ define $(PKG)_BUILD cd '$(1)' && ac_cv_func_malloc_0_nonnull=yes ./configure \ --prefix='$(PREFIX)/$(TARGET)' \ --host='$(TARGET)' \ - --enable-gnutls \ - CPPFLAGS='-DWITH_NTLM' + --enable-gnutls # Building for mingw requires native soapcpp2 ln -sf '$(PREFIX)/bin/$(TARGET)-soapcpp2' '$(1)/gsoap/src/soapcpp2' |