Commits

mabrand committed aa369c7

package gsoap: apply published bugfix

Comments (0)

Files changed (1)

src/gsoap-1-fixes.patch

+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
+