summaryrefslogtreecommitdiff
path: root/net/xmlrpc-c-devel/files/patch-src-XmlRpcCpp.h
diff options
context:
space:
mode:
authorOliver Braun <obraun@FreeBSD.org>2002-11-14 11:15:42 +0000
committerOliver Braun <obraun@FreeBSD.org>2002-11-14 11:15:42 +0000
commit1b75b0021ca13620989acc49cf1ce704339a9dff (patch)
treeea52cd287d1ae5a8c33df818b1f35f914efec26f /net/xmlrpc-c-devel/files/patch-src-XmlRpcCpp.h
parentReplaced Perl-RE by one working for sed. (diff)
* correct use of '#include <string>' and 'use namespace'
(fixes build on -current) * PERL->REINPLACE PR: ports/45286 Submitted by: Volker Stolz <vs@foldr.org>
Notes
Notes: svn path=/head/; revision=70106
Diffstat (limited to 'net/xmlrpc-c-devel/files/patch-src-XmlRpcCpp.h')
-rw-r--r--net/xmlrpc-c-devel/files/patch-src-XmlRpcCpp.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/net/xmlrpc-c-devel/files/patch-src-XmlRpcCpp.h b/net/xmlrpc-c-devel/files/patch-src-XmlRpcCpp.h
new file mode 100644
index 000000000000..21e18d881ebc
--- /dev/null
+++ b/net/xmlrpc-c-devel/files/patch-src-XmlRpcCpp.h
@@ -0,0 +1,12 @@
+--- src/XmlRpcCpp.h.orig Thu Nov 14 09:17:52 2002
++++ src/XmlRpcCpp.h Thu Nov 14 09:18:17 2002
+@@ -45,8 +45,8 @@
+ // work with our version of g++). So this header name is technically wrong.
+ // Tell me what your compiler does; I can provide some autoconf magic to the
+ // Right Thing on most platforms.
++using namespace std;
+ #include <string>
+-// using namespace std;
+
+ #include <xmlrpc.h>
+ #include <xmlrpc_client.h>