changeset 1994:8bf08e374ef9

package gsoap: apply published bugfix
author Mark Brand <mabrand@mabrand.nl>
date Mon, 19 Sep 2011 15:39:23 +0200
parents 91aa4270e0e9
children 653bed40084e
files src/gsoap-1-fixes.patch
diffstat 1 files changed, 67 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/gsoap-1-fixes.patch	Mon Sep 19 15:39:23 2011 +0200
@@ -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
+