[52842] trunk/dports/devel
blb at macports.org
blb at macports.org
Tue Jun 23 23:49:19 PDT 2009
Revision: 52842
http://trac.macports.org/changeset/52842
Author: blb at macports.org
Date: 2009-06-23 23:49:18 -0700 (Tue, 23 Jun 2009)
Log Message:
-----------
New port - devel/xmlrpcxx, C++ implementation of the XML-RPC protocol; ticket #18529
Added Paths:
-----------
trunk/dports/devel/xmlrpcxx/
trunk/dports/devel/xmlrpcxx/Portfile
trunk/dports/devel/xmlrpcxx/files/
trunk/dports/devel/xmlrpcxx/files/Validator.patch
trunk/dports/devel/xmlrpcxx/files/VirtualWarnings.patch
Added: trunk/dports/devel/xmlrpcxx/Portfile
===================================================================
--- trunk/dports/devel/xmlrpcxx/Portfile (rev 0)
+++ trunk/dports/devel/xmlrpcxx/Portfile 2009-06-24 06:49:18 UTC (rev 52842)
@@ -0,0 +1,39 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem 1.0
+
+name xmlrpcxx
+version 0.7
+categories devel www
+
+maintainers uwe-arzt.de:mail
+description XmlRpc++ is a C++ implementation of the XML-RPC protocol.
+long_description XmlRpc++ was based upon Shilad Sen's excellent py-xmlrpc. The XmlRpc protocol was \
+ designed to make remote procedure calls easy: it encodes data in a simple XML format \
+ and uses HTTP for communication. XmlRpc++ is designed to make it easy to incorporate \
+ XML-RPC client and server support into C++ applications.
+
+homepage http://xmlrpcpp.sourceforge.net/
+
+platforms darwin
+master_sites sourceforge:xmlrpcpp
+distname xmlrpc++${version}
+checksums md5 d88f0f9c36d938316d672d16f6c37d7e \
+ sha1 e0d853d5c84fa9d20566a4da25fa168b6181137c
+
+patchfiles Validator.patch \
+ VirtualWarnings.patch
+patch.pre_args -R -p1
+
+use_configure no
+destroot {
+ # no install in package available
+ file mkdir ${destroot}${prefix}/include
+ file mkdir ${destroot}${prefix}/lib
+ system " cd ${worksrcpath} && \
+ chmod a+r *.a && \
+ cp -R *.a ${destroot}${prefix}/lib/ && \
+ cp -R src/*.h ${destroot}${prefix}/include/
+ "
+ }
Property changes on: trunk/dports/devel/xmlrpcxx/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Added: trunk/dports/devel/xmlrpcxx/files/Validator.patch
===================================================================
--- trunk/dports/devel/xmlrpcxx/files/Validator.patch (rev 0)
+++ trunk/dports/devel/xmlrpcxx/files/Validator.patch 2009-06-24 06:49:18 UTC (rev 52842)
@@ -0,0 +1,11 @@
+--- xmlrpc++0.7.patched/test/Validator.cpp 2009-02-17 13:54:37.000000000 +0100
++++ xmlrpc++0.7/test/Validator.cpp 2003-03-06 18:25:38.000000000 +0100
+@@ -137,7 +137,7 @@
+ {
+ std::cerr << "ModerateSizeArrayCheck\n";
+ std::string s = params[0][0];
+- s += static_cast<std::string>(params[0][params[0].size()-1]);
++ s += params[0][params[0].size()-1];
+ result = s;
+ }
+ } moderateSizeArrayCheck(&s);
Added: trunk/dports/devel/xmlrpcxx/files/VirtualWarnings.patch
===================================================================
--- trunk/dports/devel/xmlrpcxx/files/VirtualWarnings.patch (rev 0)
+++ trunk/dports/devel/xmlrpcxx/files/VirtualWarnings.patch 2009-06-24 06:49:18 UTC (rev 52842)
@@ -0,0 +1,20 @@
+--- xmlrpc++0.7.patched/src/XmlRpc.h 2009-02-17 17:22:13.000000000 +0100
++++ xmlrpc++0.7/src/XmlRpc.h 2003-03-06 18:25:37.000000000 +0100
+@@ -49,8 +49,6 @@
+ //! Report an error. Custom error handlers should define this method.
+ virtual void error(const char* msg) = 0;
+
+- virtual ~XmlRpcErrorHandler() {};
+-
+ protected:
+ static XmlRpcErrorHandler* _errorHandler;
+ };
+@@ -77,8 +75,6 @@
+ //! Output a message. Custom error handlers should define this method.
+ virtual void log(int level, const char* msg) = 0;
+
+- virtual ~XmlRpcLogHandler() {};
+-
+ protected:
+ static XmlRpcLogHandler* _logHandler;
+ static int _verbosity;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090623/7aafc3bd/attachment.html>
More information about the macports-changes
mailing list