[Frugalware-git] frugalware-current: xmlrpc-c-1.11.00-2-x86_64

voroskoi voroskoi at frugalware.org
Sun Oct 5 12:44:55 CEST 2008


Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=21f68ddb6178388f0476757dea9de35ef2221357

commit 21f68ddb6178388f0476757dea9de35ef2221357
Author: voroskoi <voroskoi at frugalware.org>
Date:   Sat Oct 4 12:55:17 2008 +0200

xmlrpc-c-1.11.00-2-x86_64
rebuilt with curl>=7.19
added gcc43 patch to get it compile

diff --git a/source/network-extra/xmlrpc-c/FrugalBuild b/source/network-extra/xmlrpc-c/FrugalBuild
index 750c78a..8fae0c0 100644
--- a/source/network-extra/xmlrpc-c/FrugalBuild
+++ b/source/network-extra/xmlrpc-c/FrugalBuild
@@ -3,9 +3,9 @@

pkgname=xmlrpc-c
pkgver=1.11.00
-pkgrel=1
+pkgrel=2
pkgdesc="This library provides a modular implementation of XML-RPC for C and C++."
-depends=('curl>=7.16.0' 'libstdc++' 'libxml2')
+depends=('curl>=7.19.0' 'libstdc++' 'libxml2')
groups=('network-extra')
archs=('i686' 'x86_64')
_F_sourceforge_ext=".tgz"
@@ -14,11 +14,15 @@ url="http://xmlrpc-c.sourceforge.net/"
source=($source \
no-O3s-thx.patch \
use-fPIC-x86_64.patch \
-	gcc4.patch)
+	gcc4.patch \
+	gcc43.diff \
+	curl-7.19.diff)
sha1sums=('b5392268c4b1603d305d01e552ce59b5786e1254' \
'74fa3a548767ed47010100a636b7159158dd5102' \
'6e0ddecbd3dd2e8d415a240ab0a9d00df59d22eb' \
-          '0ab8746f8580626c3c87234d93564ff943b9a443')
+          '0ab8746f8580626c3c87234d93564ff943b9a443' \
+          '1906b2c924f7cdd9a4c3830dbecba833d157ef85' \
+          '984ab160569987be123b7acc5fa67004633304db')

build()
{
diff --git a/source/network-extra/xmlrpc-c/curl-7.19.diff b/source/network-extra/xmlrpc-c/curl-7.19.diff
new file mode 100644
index 0000000..4173e5c
--- /dev/null
+++ b/source/network-extra/xmlrpc-c/curl-7.19.diff
@@ -0,0 +1,12 @@
+diff -aur xmlrpc-c-1.11.00/lib/curl_transport/xmlrpc_curl_transport.c fw_xmlrpc-c-1.11.00/lib/curl_transport/xmlrpc_curl_transport.c
+--- xmlrpc-c-1.11.00/lib/curl_transport/xmlrpc_curl_transport.c	2007-05-14 08:26:23.000000000 +0200
++++ fw_xmlrpc-c-1.11.00/lib/curl_transport/xmlrpc_curl_transport.c	2008-10-04 12:20:20.000000000 +0200
+@@ -557,7 +557,7 @@
+             curl_easy_setopt(curlSessionP, CURLOPT_SSLENGINE,
+                              curlSetupP->sslEngine);
+         if (curlSetupP->sslEngineDefault)
+-            curl_easy_setopt(curlSessionP, CURLOPT_SSLENGINE_DEFAULT);
++            curl_easy_setopt(curlSessionP, CURLOPT_SSLENGINE_DEFAULT, 1);
+         if (curlSetupP->sslVersion != XMLRPC_SSLVERSION_DEFAULT)
+             curl_easy_setopt(curlSessionP, CURLOPT_SSLVERSION,
+                              curlSetupP->sslVersion);
diff --git a/source/network-extra/xmlrpc-c/gcc43.diff b/source/network-extra/xmlrpc-c/gcc43.diff
new file mode 100644
index 0000000..4976937
--- /dev/null
+++ b/source/network-extra/xmlrpc-c/gcc43.diff
@@ -0,0 +1,61 @@
+diff -aur xmlrpc-c-1.11.00/include/xmlrpc-c/oldcppwrapper.hpp fw_xmlrpc-c-1.11.00/include/xmlrpc-c/oldcppwrapper.hpp
+--- xmlrpc-c-1.11.00/include/xmlrpc-c/oldcppwrapper.hpp	2005-06-10 23:48:43.000000000 +0200
++++ fw_xmlrpc-c-1.11.00/include/xmlrpc-c/oldcppwrapper.hpp	2008-10-04 12:31:01.000000000 +0200
+@@ -25,6 +25,7 @@
+ // -Bryan 2005.03.12.
+
+
++#include <cstdlib>
+ #include <string>
+ #include <xmlrpc-c/base.h>
+ #include <xmlrpc-c/client.h>
+diff -aur xmlrpc-c-1.11.00/src/cpp/client_simple.cpp fw_xmlrpc-c-1.11.00/src/cpp/client_simple.cpp
+--- xmlrpc-c-1.11.00/src/cpp/client_simple.cpp	2006-02-04 20:25:18.000000000 +0100
++++ fw_xmlrpc-c-1.11.00/src/cpp/client_simple.cpp	2008-10-04 12:42:50.000000000 +0200
+@@ -1,3 +1,4 @@
++#include <cstring>
+ #include <string>
+
+ #include "xmlrpc-c/girerr.hpp"
+diff -aur xmlrpc-c-1.11.00/src/cpp/packetsocket.cpp fw_xmlrpc-c-1.11.00/src/cpp/packetsocket.cpp
+--- xmlrpc-c-1.11.00/src/cpp/packetsocket.cpp	2007-05-14 01:30:43.000000000 +0200
++++ fw_xmlrpc-c-1.11.00/src/cpp/packetsocket.cpp	2008-10-04 12:40:53.000000000 +0200
+@@ -49,6 +49,7 @@
+ #include <fcntl.h>
+ #include <poll.h>
+ #include <sys/types.h>
++#include <cstdlib>
+
+ #include "c_util.h"
+ #include "xmlrpc-c/string_int.h"
+diff -aur xmlrpc-c-1.11.00/src/cpp/server_abyss.cpp fw_xmlrpc-c-1.11.00/src/cpp/server_abyss.cpp
+--- xmlrpc-c-1.11.00/src/cpp/server_abyss.cpp	2007-05-14 08:28:50.000000000 +0200
++++ fw_xmlrpc-c-1.11.00/src/cpp/server_abyss.cpp	2008-10-04 12:36:54.000000000 +0200
+@@ -1,4 +1,5 @@
+ #include <cassert>
++#include <cstdlib>
+ #include <string>
+ #include <memory>
+ #include <signal.h>
+diff -aur xmlrpc-c-1.11.00/src/cpp/value.cpp fw_xmlrpc-c-1.11.00/src/cpp/value.cpp
+--- xmlrpc-c-1.11.00/src/cpp/value.cpp	2007-06-05 05:49:49.000000000 +0200
++++ fw_xmlrpc-c-1.11.00/src/cpp/value.cpp	2008-10-04 12:33:54.000000000 +0200
+@@ -28,6 +28,7 @@
+
+ *****************************************************************************/
+
++#include <cstdlib>
+ #include <string>
+ #include <vector>
+ #include <ctime>
+diff -aur xmlrpc-c-1.11.00/src/cpp/XmlRpcCpp.cpp fw_xmlrpc-c-1.11.00/src/cpp/XmlRpcCpp.cpp
+--- xmlrpc-c-1.11.00/src/cpp/XmlRpcCpp.cpp	2005-11-24 04:13:13.000000000 +0100
++++ fw_xmlrpc-c-1.11.00/src/cpp/XmlRpcCpp.cpp	2008-10-04 12:31:36.000000000 +0200
+@@ -24,6 +24,7 @@
+ // SUCH DAMAGE.
+
+
++#include <cstring>
+ #include <string>
+ #include "xmlrpc-c/oldcppwrapper.hpp"
+


More information about the Frugalware-git mailing list