summaryrefslogtreecommitdiffstats
path: root/kresources/groupwise/soap/patches/broken_namespace.diff
diff options
context:
space:
mode:
authortoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
committertoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
commit460c52653ab0dcca6f19a4f492ed2c5e4e963ab0 (patch)
tree67208f7c145782a7e90b123b982ca78d88cc2c87 /kresources/groupwise/soap/patches/broken_namespace.diff
downloadtdepim-460c52653ab0dcca6f19a4f492ed2c5e4e963ab0.tar.gz
tdepim-460c52653ab0dcca6f19a4f492ed2c5e4e963ab0.zip
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kresources/groupwise/soap/patches/broken_namespace.diff')
-rw-r--r--kresources/groupwise/soap/patches/broken_namespace.diff20
1 files changed, 20 insertions, 0 deletions
diff --git a/kresources/groupwise/soap/patches/broken_namespace.diff b/kresources/groupwise/soap/patches/broken_namespace.diff
new file mode 100644
index 000000000..46c5eee41
--- /dev/null
+++ b/kresources/groupwise/soap/patches/broken_namespace.diff
@@ -0,0 +1,20 @@
+--- /build/progs/gsoap-linux-2.7/stdsoap2.cpp 2004-10-10 20:33:26.000000000 +0200
++++ ../stdsoap2.cpp 2004-10-25 15:44:05.707573480 +0200
+@@ -2249,10 +2249,15 @@
+ SOAP_FMAC1
+ int
+ SOAP_FMAC2
+-soap_match_tag(struct soap *soap, const char *tag1, const char *tag2)
++soap_match_tag(struct soap *soap, const char *tag1, const char *tag2_)
+ { register const char *s, *t;
+- if (!tag1 || !tag2 || !*tag2)
++ if (!tag1 || !tag2_ || !*tag2_)
+ return SOAP_OK;
++
++ const char *tag2;
++ if ( strncmp( tag2_, "ns1:", 4 ) == 0 ) tag2 = tag2_ + 4;
++ else tag2 = tag2_;
++
+ s = strchr(tag1, ':');
+ t = strchr(tag2, ':');
+ if (t)