summaryrefslogtreecommitdiff
path: root/net/xmlrpc-c-devel/files/patch-examples::interop-client::InteropEchoProxy.cc
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-03-04 19:29:05 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-03-04 19:29:05 +0000
commit9d51d547e26d57b7e489b3abaeb87ed16a1a068e (patch)
treef1f6e379f63b6eaad0a84ae4d1175b3400d92e81 /net/xmlrpc-c-devel/files/patch-examples::interop-client::InteropEchoProxy.cc
parentThis does not work with ruby 1.6, but requires ruby 1.8 or later. (diff)
- Fix build on -current
PR: ports/63752 Submitted by: Ports Fury
Notes
Notes: svn path=/head/; revision=102932
Diffstat (limited to 'net/xmlrpc-c-devel/files/patch-examples::interop-client::InteropEchoProxy.cc')
-rw-r--r--net/xmlrpc-c-devel/files/patch-examples::interop-client::InteropEchoProxy.cc29
1 files changed, 29 insertions, 0 deletions
diff --git a/net/xmlrpc-c-devel/files/patch-examples::interop-client::InteropEchoProxy.cc b/net/xmlrpc-c-devel/files/patch-examples::interop-client::InteropEchoProxy.cc
new file mode 100644
index 000000000000..241207275aa7
--- /dev/null
+++ b/net/xmlrpc-c-devel/files/patch-examples::interop-client::InteropEchoProxy.cc
@@ -0,0 +1,29 @@
+--- examples/interop-client/InteropEchoProxy.cc.orig Wed Apr 25 00:17:25 2001
++++ examples/interop-client/InteropEchoProxy.cc Tue Mar 2 23:39:39 2004
+@@ -12,7 +12,7 @@
+ public:
+ InteropEchoProxy (const XmlRpcClient& client)
+ : mClient(client) {}
+- InteropEchoProxy (const string& server_url)
++ InteropEchoProxy (const std::string& server_url)
+ : mClient(XmlRpcClient(server_url)) {}
+ InteropEchoProxy (const InteropEchoProxy& o)
+ : mClient(o.mClient) {}
+@@ -23,7 +23,7 @@
+ }
+
+ /* Echo an arbitrary XML-RPC string. */
+- string echoString (string string1);
++ std::string echoString (std::string string1);
+
+ /* Echo an arbitrary XML-RPC integer. */
+ XmlRpcValue::int32 echoInteger (XmlRpcValue::int32 int1);
+@@ -55,7 +55,7 @@
+ #include <XmlRpcCpp.h>
+ #include "InteropEchoProxy.h"
+
+-string InteropEchoProxy::echoString (string string1) {
++std::string InteropEchoProxy::echoString (std::string string1) {
+ XmlRpcValue params = XmlRpcValue::makeArray();
+ params.arrayAppendItem(XmlRpcValue::makeString(string1));
+ XmlRpcValue result = this->mClient.call("interopEchoTests.echoString", params);