summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Brand <mabrand@mabrand.nl>2011-09-19 13:39:23 (GMT)
committerMark Brand <mabrand@mabrand.nl>2011-09-19 13:39:23 (GMT)
commitbf4f449a29633f47f733308716e054735cc38912 (patch)
treefd046c23e204a175d168fc5b8243d5ceae452db5
parent06f677ef4545c993f478d8ceea038da3994e9142 (diff)
downloadmxe-bf4f449a29633f47f733308716e054735cc38912.zip
mxe-bf4f449a29633f47f733308716e054735cc38912.tar.gz
mxe-bf4f449a29633f47f733308716e054735cc38912.tar.bz2
package gsoap: apply published bugfix
-rw-r--r--src/gsoap-1-fixes.patch67
1 files changed, 67 insertions, 0 deletions
diff --git a/src/gsoap-1-fixes.patch b/src/gsoap-1-fixes.patch
new file mode 100644
index 0000000..b60c110
--- /dev/null
+++ b/src/gsoap-1-fixes.patch
@@ -0,0 +1,67 @@
+This file is part of mingw-cross-env.
+See doc/index.html for further information.
+
+Contains ad hoc patches for cross building.
+
+From 35024d3ef8fb879a92de71b738ad985b6e8318af Mon Sep 17 00:00:00 2001
+From: mingw-cross-env
+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/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.6.1
+