summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-libs/xmlrpc-c-cvs/Manifest27
-rw-r--r--dev-libs/xmlrpc-c-cvs/files/digest-xmlrpc-c-cvs-99990
-rw-r--r--dev-libs/xmlrpc-c-cvs/files/xmlrpc-c-implicit-abs.patch12
-rw-r--r--dev-libs/xmlrpc-c-cvs/files/xmlrpc-c-mkinstalldirs.patch46
-rw-r--r--dev-libs/xmlrpc-c-cvs/files/xmlrpc-c-pic.patch13
-rw-r--r--dev-libs/xmlrpc-c-cvs/files/xmlrpc-c-threadupdatestatus.patch16
-rw-r--r--dev-libs/xmlrpc-c-cvs/files/xmlrpc-c-type-punned-pointer-deref.patch20
-rw-r--r--dev-libs/xmlrpc-c-cvs/xmlrpc-c-cvs-9999.ebuild65
8 files changed, 199 insertions, 0 deletions
diff --git a/dev-libs/xmlrpc-c-cvs/Manifest b/dev-libs/xmlrpc-c-cvs/Manifest
new file mode 100644
index 0000000..d1140ce
--- /dev/null
+++ b/dev-libs/xmlrpc-c-cvs/Manifest
@@ -0,0 +1,27 @@
+AUX xmlrpc-c-implicit-abs.patch 418 RMD160 e2991cf1cc862ab21855194a26d8867039786a25 SHA1 540f45e112bf194f3c632d0d7384a0613483249e SHA256 87702ab8fa1a2e7206484c982b935d14e296a182a4c2acf7b791783644352633
+MD5 4d8cd6b41775c3573fa4c8df364a2c8e files/xmlrpc-c-implicit-abs.patch 418
+RMD160 e2991cf1cc862ab21855194a26d8867039786a25 files/xmlrpc-c-implicit-abs.patch 418
+SHA256 87702ab8fa1a2e7206484c982b935d14e296a182a4c2acf7b791783644352633 files/xmlrpc-c-implicit-abs.patch 418
+AUX xmlrpc-c-mkinstalldirs.patch 1946 RMD160 96582f35dae623feee00a651a01328574a5b3256 SHA1 3971aba8aee5a939e325ede62639323bdbddfe9a SHA256 2472ae266d053ad001813edfb90ad04d67990f120aa1769ebe82c47ffa8175d2
+MD5 3c3800360e60276e4ad71d7a0f904f50 files/xmlrpc-c-mkinstalldirs.patch 1946
+RMD160 96582f35dae623feee00a651a01328574a5b3256 files/xmlrpc-c-mkinstalldirs.patch 1946
+SHA256 2472ae266d053ad001813edfb90ad04d67990f120aa1769ebe82c47ffa8175d2 files/xmlrpc-c-mkinstalldirs.patch 1946
+AUX xmlrpc-c-pic.patch 566 RMD160 2e64750d04cdb3a9ad9f95e753e6dd46d4cd650c SHA1 5b266ed0600aa32c5f461df402038ffee1dac87c SHA256 b27f31ef0098ff83518be25131b1ddb72a3290c45636219a58cbf7dcd5ff415d
+MD5 0ac0228b9c6729417f28cc9a5068e83d files/xmlrpc-c-pic.patch 566
+RMD160 2e64750d04cdb3a9ad9f95e753e6dd46d4cd650c files/xmlrpc-c-pic.patch 566
+SHA256 b27f31ef0098ff83518be25131b1ddb72a3290c45636219a58cbf7dcd5ff415d files/xmlrpc-c-pic.patch 566
+AUX xmlrpc-c-threadupdatestatus.patch 465 RMD160 e8e8cdeb31d0afad547dd8abab3533e9f54114ba SHA1 b209a5d55c3e587eabe220503c8818b17731fc78 SHA256 64fac915d4bdab37ebf04fece7066213a96d09651d4e088c90f08e9fd364a985
+MD5 a0ceeb369541ad7b7997762682647efa files/xmlrpc-c-threadupdatestatus.patch 465
+RMD160 e8e8cdeb31d0afad547dd8abab3533e9f54114ba files/xmlrpc-c-threadupdatestatus.patch 465
+SHA256 64fac915d4bdab37ebf04fece7066213a96d09651d4e088c90f08e9fd364a985 files/xmlrpc-c-threadupdatestatus.patch 465
+AUX xmlrpc-c-type-punned-pointer-deref.patch 748 RMD160 4b5e0f7a5d41ea1510826e8cf2831895fa9f44ef SHA1 ba8bac079d55429a3514d5b677ce81f620e9bd25 SHA256 5c468c2d6e518252f734bd177952f0c05ada109465f31393384cbeaeedf44a60
+MD5 8bc1d9a6ba28831d17ae0b572780d602 files/xmlrpc-c-type-punned-pointer-deref.patch 748
+RMD160 4b5e0f7a5d41ea1510826e8cf2831895fa9f44ef files/xmlrpc-c-type-punned-pointer-deref.patch 748
+SHA256 5c468c2d6e518252f734bd177952f0c05ada109465f31393384cbeaeedf44a60 files/xmlrpc-c-type-punned-pointer-deref.patch 748
+EBUILD xmlrpc-c-cvs-9999.ebuild 1730 RMD160 788c6bb1d3bb03b227557c2d27aa3788dcd83865 SHA1 43b87cdf9b8e327562c2349d7db33849bbbc6276 SHA256 69e169a1cac5c05a730dba89c50d1f9497dc15912c49614e2eca60d0b147aa00
+MD5 d82e7579dc87f0a3ee6117f0257ae3f7 xmlrpc-c-cvs-9999.ebuild 1730
+RMD160 788c6bb1d3bb03b227557c2d27aa3788dcd83865 xmlrpc-c-cvs-9999.ebuild 1730
+SHA256 69e169a1cac5c05a730dba89c50d1f9497dc15912c49614e2eca60d0b147aa00 xmlrpc-c-cvs-9999.ebuild 1730
+MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-xmlrpc-c-cvs-9999 0
+RMD160 9c1185a5c5e9fc54612808977ee8f548b2258d31 files/digest-xmlrpc-c-cvs-9999 0
+SHA256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 files/digest-xmlrpc-c-cvs-9999 0
diff --git a/dev-libs/xmlrpc-c-cvs/files/digest-xmlrpc-c-cvs-9999 b/dev-libs/xmlrpc-c-cvs/files/digest-xmlrpc-c-cvs-9999
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/dev-libs/xmlrpc-c-cvs/files/digest-xmlrpc-c-cvs-9999
diff --git a/dev-libs/xmlrpc-c-cvs/files/xmlrpc-c-implicit-abs.patch b/dev-libs/xmlrpc-c-cvs/files/xmlrpc-c-implicit-abs.patch
new file mode 100644
index 0000000..24d27c7
--- /dev/null
+++ b/dev-libs/xmlrpc-c-cvs/files/xmlrpc-c-implicit-abs.patch
@@ -0,0 +1,12 @@
+Index: ./lib/abyss/src/date.c
+===================================================================
+RCS file: /cvsroot/xmlrpc-c/xmlrpc-c/lib/abyss/src/date.c,v
+retrieving revision 1.3
+diff -u -b -B -r1.3 date.c
+--- ./lib/abyss/src/date.c 7 Jan 2007 20:47:29 -0000 1.3
++++ ./lib/abyss/src/date.c 15 Feb 2007 09:18:57 -0000
+@@ -1,3 +1,4 @@
++#include <stdlib.h>
+ #include <ctype.h>
+ #include <string.h>
+ #include <stdio.h>
diff --git a/dev-libs/xmlrpc-c-cvs/files/xmlrpc-c-mkinstalldirs.patch b/dev-libs/xmlrpc-c-cvs/files/xmlrpc-c-mkinstalldirs.patch
new file mode 100644
index 0000000..80ef484
--- /dev/null
+++ b/dev-libs/xmlrpc-c-cvs/files/xmlrpc-c-mkinstalldirs.patch
@@ -0,0 +1,46 @@
+Index: Makefile.common
+===================================================================
+RCS file: /cvsroot/xmlrpc-c/xmlrpc-c/Makefile.common,v
+retrieving revision 1.53
+diff -u -b -B -r1.53 Makefile.common
+--- Makefile.common 1 Jan 2007 00:59:38 -0000 1.53
++++ Makefile.common 15 Feb 2007 09:08:52 -0000
+@@ -448,8 +448,6 @@
+ # (except shared libraries) #
+ ##############################################################################
+
+-MKINSTALLDIRS = $(SHELL) $(SRCDIR)/mkinstalldirs
+-
+ .PHONY: install-common install-libraries install-headers install-bin
+ install-common: \
+ install-ltlibraries install-static-libraries install-shared-libraries \
+Index: Makefile.config.in
+===================================================================
+RCS file: /cvsroot/xmlrpc-c/xmlrpc-c/Makefile.config.in,v
+retrieving revision 1.23
+diff -u -b -B -r1.23 Makefile.config.in
+--- Makefile.config.in 28 Sep 2006 02:15:55 -0000 1.23
++++ Makefile.config.in 15 Feb 2007 09:08:53 -0000
+@@ -256,6 +256,7 @@
+ INSTALL_SHLIB = $(INSTALL) -c -m 755
+ INSTALL_DATA = $(INSTALL) -c -m 644
+ INSTALL_SCRIPT = $(INSTALL) -c -m 755
++MKINSTALLDIRS = $(INSTALL) -d -m 755
+
+ # Here are the locations at which 'make install' puts files:
+
+Index: lib/expat/xmlwf/Makefile.in
+===================================================================
+RCS file: /cvsroot/xmlrpc-c/xmlrpc-c/lib/expat/xmlwf/Makefile.in,v
+retrieving revision 1.1
+diff -u -b -B -r1.1 Makefile.in
+--- lib/expat/xmlwf/Makefile.in 16 Oct 2004 21:41:29 -0000 1.1
++++ lib/expat/xmlwf/Makefile.in 15 Feb 2007 09:08:57 -0000
+@@ -106,7 +106,6 @@
+
+ EXTRA_DIST = codepage.c filemap.h unixfilemap.c xmlfile.c xmltchar.h xmlwf.dsp codepage.h readfilemap.c win32filemap.c xmlfile.h xmlwf.c
+
+-mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+ CONFIG_HEADER = ../../../xmlrpc_config.h
+ CONFIG_CLEAN_FILES =
+ DIST_COMMON = Makefile.in
diff --git a/dev-libs/xmlrpc-c-cvs/files/xmlrpc-c-pic.patch b/dev-libs/xmlrpc-c-cvs/files/xmlrpc-c-pic.patch
new file mode 100644
index 0000000..4f8496e
--- /dev/null
+++ b/dev-libs/xmlrpc-c-cvs/files/xmlrpc-c-pic.patch
@@ -0,0 +1,13 @@
+Index: xmlrpc-c-1.05/src/cpp/Makefile
+===================================================================
+--- xmlrpc-c-1.05.orig/src/cpp/Makefile
++++ xmlrpc-c-1.05/src/cpp/Makefile
+@@ -135,7 +135,7 @@ libxmlrpc_client++.a: $(LIBXMLRPC_CLIENT
+ # RULES TO COMPILE OBJECT MODULES FOR LIBRARIES
+ #-----------------------------------------------------------------------------
+
+-CXXFLAGS = $(CXXFLAGS_COMMON) $(CFLAGS_PERSONAL) $(CADD)
++CXXFLAGS = $(CXXFLAGS_COMMON) $(CFLAGS_PERSONAL) $(CADD) -fPIC
+
+ XmlRpcCpp.o:%.o:%.cpp
+ $(CXX) -c $(BASIC_INCLUDES) $(CXXFLAGS) $<
diff --git a/dev-libs/xmlrpc-c-cvs/files/xmlrpc-c-threadupdatestatus.patch b/dev-libs/xmlrpc-c-cvs/files/xmlrpc-c-threadupdatestatus.patch
new file mode 100644
index 0000000..b526473
--- /dev/null
+++ b/dev-libs/xmlrpc-c-cvs/files/xmlrpc-c-threadupdatestatus.patch
@@ -0,0 +1,16 @@
+Index: xmlrpc-c-1.06.02/lib/abyss/src/thread_fork.c
+===================================================================
+--- xmlrpc-c-1.06.02.orig/lib/abyss/src/thread_fork.c
++++ xmlrpc-c-1.06.02/lib/abyss/src/thread_fork.c
+@@ -281,11 +281,6 @@ ThreadForks(void) {
+
+
+
+-void
+-ThreadUpdateStatus(TThread * const threadP) {
+- /* Necessary only for primitive Unix forking */
+-}
+-
+
+ /*********************************************************************
+ ** Mutex
diff --git a/dev-libs/xmlrpc-c-cvs/files/xmlrpc-c-type-punned-pointer-deref.patch b/dev-libs/xmlrpc-c-cvs/files/xmlrpc-c-type-punned-pointer-deref.patch
new file mode 100644
index 0000000..bcd3881
--- /dev/null
+++ b/dev-libs/xmlrpc-c-cvs/files/xmlrpc-c-type-punned-pointer-deref.patch
@@ -0,0 +1,20 @@
+Index: lib/util/include/mallocvar.h
+===================================================================
+RCS file: /cvsroot/xmlrpc-c/xmlrpc-c/lib/util/include/mallocvar.h,v
+retrieving revision 1.5
+diff -u -b -B -r1.5 mallocvar.h
+--- lib/util/include/mallocvar.h 12 Apr 2005 18:54:52 -0000 1.5
++++ lib/util/include/mallocvar.h 15 Feb 2007 09:28:30 -0000
+@@ -65,8 +65,10 @@
+ arrayName = array; \
+ } while (0)
+
+-#define REALLOCARRAY(arrayName, nElements) \
+- reallocProduct((void **)&arrayName, nElements, sizeof(arrayName[0]))
++#define REALLOCARRAY(arrayName, nElements) do { \
++ void *array = arrayName; \
++ reallocProduct(&array, nElements, sizeof(arrayName[0])); \
++} while (0)
+
+
+ #define MALLOCARRAY_NOFAIL(arrayName, nElements) \
diff --git a/dev-libs/xmlrpc-c-cvs/xmlrpc-c-cvs-9999.ebuild b/dev-libs/xmlrpc-c-cvs/xmlrpc-c-cvs-9999.ebuild
new file mode 100644
index 0000000..967f09f
--- /dev/null
+++ b/dev-libs/xmlrpc-c-cvs/xmlrpc-c-cvs-9999.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/xmlrpc-c/xmlrpc-c-1.09.00.ebuild,v 1.1 2007/01/30 09:44:33 hollow Exp $
+
+inherit autotools eutils cvs
+
+DESCRIPTION="A lightweigt RPC library based on XML and HTTP"
+HOMEPAGE="http://xmlrpc-c.sourceforge.net/"
+
+KEYWORDS="~alpha ~amd64 ~ppc ~x86"
+IUSE="curl libwww threads"
+LICENSE="GPL-2"
+SLOT="0"
+
+DEPEND="dev-libs/libxml2
+ libwww? ( net-libs/libwww )
+ curl? ( net-misc/curl )"
+
+ECVS_SERVER="xmlrpc-c.cvs.sourceforge.net:/cvsroot/xmlrpc-c"
+ECVS_MODULE="xmlrpc-c"
+S="${WORKDIR}/${ECVS_MODULE}"
+
+pkg_setup() {
+ # paralell make doesn't work
+ MAKEOPTS="-j1"
+
+ if ! use curl && ! use libwww; then
+ ewarn "Neither CURL nor libwww support was selected"
+ ewarn "No client library will be be built"
+ fi
+}
+
+src_unpack() {
+ cvs_src_unpack
+ cd "${S}"
+
+ epatch "${FILESDIR}/xmlrpc-c-threadupdatestatus.patch"
+ epatch "${FILESDIR}/xmlrpc-c-pic.patch"
+ epatch "${FILESDIR}/xmlrpc-c-mkinstalldirs.patch"
+ epatch "${FILESDIR}/xmlrpc-c-implicit-abs.patch"
+ epatch "${FILESDIR}/xmlrpc-c-type-punned-pointer-deref.patch"
+
+ # get rid of autogenerated files
+ rm -f aclocal.m4 config.guess config.sub install-shi
+ rm -f ltconfig ltmain.sh missing mkinstalldirs
+
+ # force eautomake though xmlrpc-c doesn't really use it
+ touch Makefile.am
+ echo 'AC_CONFIG_FILES([Makefile])' >> configure.in
+
+ eautoreconf
+}
+
+src_compile() {
+ econf --disable-wininet-client --enable-libxml2-backend \
+ $(use_enable threads abyss-threads) \
+ $(use_enable curl curl-client) \
+ $(use_enable libwww libwww-client) || die "econf failed"
+
+ emake || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR=${D} install || die
+}