diff options
Diffstat (limited to 'dev-libs')
16 files changed, 551 insertions, 0 deletions
diff --git a/dev-libs/google-perftools/Manifest b/dev-libs/google-perftools/Manifest new file mode 100644 index 0000000..928fb0a --- /dev/null +++ b/dev-libs/google-perftools/Manifest @@ -0,0 +1,9 @@ +AUX google-perftools-0.94-gentoo.patch 560 RMD160 9fe161da366a28460e3897fd0ace8953cfc62ec7 SHA1 e4457bf01bbe9ea4af72b9474d49e7a61b925395 SHA256 8c4fb8a2e7abccadfcbad84ed544e3dd9f0457eeaf05f6c0578140a6dd219311 +DIST google-perftools-0.93.tar.gz 1887604 RMD160 2b18c9f1dfa842f666dbef4b321658000752909a SHA1 2654459d6d02f91b3db28fcad45a30fb61003814 SHA256 e9e9048b8da2b82a51a78629768f02d1921429727318afcbf189d536f9157273 +DIST google-perftools-0.94.1.tar.gz 1910734 RMD160 0259b424b3b0ad2bd76fba0d9af329dc8389d484 SHA1 4974441f037d7e92d88c5623e020e1b618056daf SHA256 6322a4a63b19062afe50801934979b0259a6aa365c1e840e678b42b8c2507f25 +DIST google-perftools-0.94.tar.gz 1910473 RMD160 32744f539af510edea19db91f7a4d4ef5e0f8277 SHA1 77f08ba9445b775a3da2bdcd2ad49e37893253e4 SHA256 b4dd999b8addee7639c0949a8a76432dbb12bb43c520bb3d40ce10d31131de79 +DIST google-perftools-0.97.tar.gz 1985699 RMD160 45512543275d49eb3ad6d12fad0206f694c67537 SHA1 30098fe2c82168be959a20339e0bd733f11ff3d5 SHA256 847af74c68fa436419dd53a3dee530137b95b7c0cecd6df7173bbdf79f05ef19 +EBUILD google-perftools-0.93.ebuild 611 RMD160 35d9a9cf663e57ad6c9e7b5ef19a5fd7b221e1f0 SHA1 64b4c034cdc8a5e32bd8052b6c54a5512d79bdba SHA256 fc3ac8c3a8d15d0208925f19c03e2e764477fb57669c79820400cc224c3940be +EBUILD google-perftools-0.94.1.ebuild 714 RMD160 a2cd48e9ba55bc70c7402ddc3df315ae07fd2333 SHA1 6c73de6bb4bdcb3ae38591035235b62fda4356c0 SHA256 957b9ca73bb6b7d206874e5bd0a6bb56c47a7ca3424ece6bbb8bb9a999ee4f6b +EBUILD google-perftools-0.94.ebuild 708 RMD160 2be47fa571ddc4a962e17831bd936a97f1643750 SHA1 878aab2b6d6604f677293643197a9cb9af62af02 SHA256 0befb819bcf4918a4d3a1c58ca2fa26eae014bd9596c249e885cc8706f698a2d +EBUILD google-perftools-0.97.ebuild 714 RMD160 a2cd48e9ba55bc70c7402ddc3df315ae07fd2333 SHA1 6c73de6bb4bdcb3ae38591035235b62fda4356c0 SHA256 957b9ca73bb6b7d206874e5bd0a6bb56c47a7ca3424ece6bbb8bb9a999ee4f6b diff --git a/dev-libs/google-perftools/files/google-perftools-0.94-gentoo.patch b/dev-libs/google-perftools/files/google-perftools-0.94-gentoo.patch new file mode 100644 index 0000000..000a8a2 --- /dev/null +++ b/dev-libs/google-perftools/files/google-perftools-0.94-gentoo.patch @@ -0,0 +1,11 @@ +diff -Naur google-perftools-0.94.orig/src/stacktrace_libunwind-inl.h google-perftools-0.94/src/stacktrace_libunwind-inl.h +--- google-perftools-0.94.orig/src/stacktrace_libunwind-inl.h 2007-10-19 01:05:15.000000000 +0900 ++++ google-perftools-0.94/src/stacktrace_libunwind-inl.h 2007-12-01 08:51:01.000000000 +0900 +@@ -38,6 +38,7 @@ + } + #include "google/stacktrace.h" + #include "base/spinlock.h" ++#include "base/logging.h" + + // Sometimes, we can try to get a stack trace from within a stack + // trace, because libunwind can call mmap/sbrk (maybe indirectly via diff --git a/dev-libs/google-perftools/google-perftools-0.93.ebuild b/dev-libs/google-perftools/google-perftools-0.93.ebuild new file mode 100644 index 0000000..93370da --- /dev/null +++ b/dev-libs/google-perftools/google-perftools-0.93.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +DESCRIPTION="Fast, mutli-threaded malloc() and nifty performance analysis tools" +HOMEPAGE="http://code.google.com/p/google-perftools/" +SRC_URI="http://google-perftools.googlecode.com/files/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +#RESTRICT="test" + +DEPEND="sys-libs/libunwind" + +# parallel make b0rks +MAKEOPTS="-j1" + +src_install() { + emake DESTDIR="${D}" install || die + + rm -rf "${D}"/usr/share/doc/${P} + + dodoc AUTHORS ChangeLog NEWS README TODO + dohtml doc/* +} diff --git a/dev-libs/google-perftools/google-perftools-0.94.1.ebuild b/dev-libs/google-perftools/google-perftools-0.94.1.ebuild new file mode 100644 index 0000000..326bf8a --- /dev/null +++ b/dev-libs/google-perftools/google-perftools-0.94.1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils + +DESCRIPTION="Fast, mutli-threaded malloc() and nifty performance analysis tools" +HOMEPAGE="http://code.google.com/p/google-perftools/" +SRC_URI="http://google-perftools.googlecode.com/files/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RESTRICT="test" + +DEPEND="sys-libs/libunwind" + +# parallel make b0rks +MAKEOPTS="-j1" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${PN}-0.94-gentoo.patch +} + +src_install() { + emake DESTDIR="${D}" install || die + + rm -rf "${D}"/usr/share/doc/${P} + + dodoc AUTHORS ChangeLog NEWS README TODO + dohtml doc/* +} diff --git a/dev-libs/google-perftools/google-perftools-0.94.ebuild b/dev-libs/google-perftools/google-perftools-0.94.ebuild new file mode 100644 index 0000000..04337c0 --- /dev/null +++ b/dev-libs/google-perftools/google-perftools-0.94.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils + +DESCRIPTION="Fast, mutli-threaded malloc() and nifty performance analysis tools" +HOMEPAGE="http://code.google.com/p/google-perftools/" +SRC_URI="http://google-perftools.googlecode.com/files/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RESTRICT="test" + +DEPEND="sys-libs/libunwind" + +# parallel make b0rks +MAKEOPTS="-j1" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-gentoo.patch +} + +src_install() { + emake DESTDIR="${D}" install || die + + rm -rf "${D}"/usr/share/doc/${P} + + dodoc AUTHORS ChangeLog NEWS README TODO + dohtml doc/* +} diff --git a/dev-libs/google-perftools/google-perftools-0.97.ebuild b/dev-libs/google-perftools/google-perftools-0.97.ebuild new file mode 100644 index 0000000..326bf8a --- /dev/null +++ b/dev-libs/google-perftools/google-perftools-0.97.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils + +DESCRIPTION="Fast, mutli-threaded malloc() and nifty performance analysis tools" +HOMEPAGE="http://code.google.com/p/google-perftools/" +SRC_URI="http://google-perftools.googlecode.com/files/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RESTRICT="test" + +DEPEND="sys-libs/libunwind" + +# parallel make b0rks +MAKEOPTS="-j1" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${PN}-0.94-gentoo.patch +} + +src_install() { + emake DESTDIR="${D}" install || die + + rm -rf "${D}"/usr/share/doc/${P} + + dodoc AUTHORS ChangeLog NEWS README TODO + dohtml doc/* +} diff --git a/dev-libs/xmlrpc-epi/Manifest b/dev-libs/xmlrpc-epi/Manifest new file mode 100644 index 0000000..29918ac --- /dev/null +++ b/dev-libs/xmlrpc-epi/Manifest @@ -0,0 +1,35 @@ +AUX xmlrpc-epi-0.51-64bit-fixes.patch 3457 RMD160 6da25f27c64c9838766113c3914d0a141bc9401d SHA1 63a86e1e1e3cb6fa6cc7ee45dfa9ba836de1af0d SHA256 17b9f345cf0d5c4d8d601a1586e8d559daaa4c409e36699bbf7e63022c4e7783 +MD5 50e267b3dcf40e9860eb1b05fa770bc7 files/xmlrpc-epi-0.51-64bit-fixes.patch 3457 +RMD160 6da25f27c64c9838766113c3914d0a141bc9401d files/xmlrpc-epi-0.51-64bit-fixes.patch 3457 +SHA256 17b9f345cf0d5c4d8d601a1586e8d559daaa4c409e36699bbf7e63022c4e7783 files/xmlrpc-epi-0.51-64bit-fixes.patch 3457 +AUX xmlrpc-epi-0.51-expat.patch 2942 RMD160 f68ed48e1dd6e54d71255c4319d4821d1455e2ad SHA1 a343abaa1a51bb51cb1d6daaece5932d63325b64 SHA256 b325fc0fe9293c4eeb4ef0603b4ea13021640c2ab5d1481cb48ac749b1a01b4f +MD5 aa9530de692200e914a35070634590d0 files/xmlrpc-epi-0.51-expat.patch 2942 +RMD160 f68ed48e1dd6e54d71255c4319d4821d1455e2ad files/xmlrpc-epi-0.51-expat.patch 2942 +SHA256 b325fc0fe9293c4eeb4ef0603b4ea13021640c2ab5d1481cb48ac749b1a01b4f files/xmlrpc-epi-0.51-expat.patch 2942 +AUX xmlrpc-epi-0.51-gcc4.patch 413 RMD160 abf7cf13e58ad056b50368f7f0cf6b9f72ee9ea4 SHA1 46f4950075fcb5e3f0e6a762a89edf35d2c13570 SHA256 b6c6c90382863a3915aad277b9bcec1521eed17f478334324e19648f31520e4b +MD5 2c30e81d3bc50b4879ff263bf119f715 files/xmlrpc-epi-0.51-gcc4.patch 413 +RMD160 abf7cf13e58ad056b50368f7f0cf6b9f72ee9ea4 files/xmlrpc-epi-0.51-gcc4.patch 413 +SHA256 b6c6c90382863a3915aad277b9bcec1521eed17f478334324e19648f31520e4b files/xmlrpc-epi-0.51-gcc4.patch 413 +AUX xmlrpc-epi-0.51-noconflict.patch 2757 RMD160 0645b9e5c92102359c8ea7f279903c0bcf730b2a SHA1 f5e5b9d50efcc9249f935f5194d63a0ea6974b12 SHA256 6ff37212824902bc96be150428d3ab32038c443ddadbcd976a5d85e263b0f0e8 +MD5 e537ec18007a08aae03e90664927d370 files/xmlrpc-epi-0.51-noconflict.patch 2757 +RMD160 0645b9e5c92102359c8ea7f279903c0bcf730b2a files/xmlrpc-epi-0.51-noconflict.patch 2757 +SHA256 6ff37212824902bc96be150428d3ab32038c443ddadbcd976a5d85e263b0f0e8 files/xmlrpc-epi-0.51-noconflict.patch 2757 +AUX xmlrpc-epi-0.51-secondlife.patch 364 RMD160 6c6ccab1174bbc4f9547c210b2584e6e6b484852 SHA1 b1a5d407dcde8a8a4ac08486e72bdc3ffd06e8f7 SHA256 7d7b77622b3656d0463d9a54bf4fc3244c22013ef664f160ec1729714f4533fa +MD5 748958d5afa4de930e9614e510b801b0 files/xmlrpc-epi-0.51-secondlife.patch 364 +RMD160 6c6ccab1174bbc4f9547c210b2584e6e6b484852 files/xmlrpc-epi-0.51-secondlife.patch 364 +SHA256 7d7b77622b3656d0463d9a54bf4fc3244c22013ef664f160ec1729714f4533fa files/xmlrpc-epi-0.51-secondlife.patch 364 +DIST xmlrpc-epi-0.51.tar.gz 458208 RMD160 c505ee80460cbf521cdee8895a02273d5a773e8e SHA1 dc986663a1d996844dacd8787bee427a03a0c01b SHA256 ec9e54e72e70b38d515d6fc69b4d591ed6018b65d9409965dfacdcd1f59d13b3 +EBUILD xmlrpc-epi-0.51-r1.ebuild 871 RMD160 0edd11c57d3b1c1832d9712b0aa0a8ba36a4f756 SHA1 561630b23ce77ac3816f51b0eefe84a0fc5ef5ba SHA256 0811af511b3b10cba4429dec02693f7c72a172023e45ec96aae7704a31ea8302 +MD5 71acb8be8f7d2242db577ef77bd73277 xmlrpc-epi-0.51-r1.ebuild 871 +RMD160 0edd11c57d3b1c1832d9712b0aa0a8ba36a4f756 xmlrpc-epi-0.51-r1.ebuild 871 +SHA256 0811af511b3b10cba4429dec02693f7c72a172023e45ec96aae7704a31ea8302 xmlrpc-epi-0.51-r1.ebuild 871 +EBUILD xmlrpc-epi-0.51.ebuild 687 RMD160 4d906a67b70dc9975c5ea0c82bfdbcbc09b746ff SHA1 1bbedd8d183a194409a5db2d59b1ed94725d00fb SHA256 c6d8b0d0e373485934461240c97b6bfbb3a75f0989d2047ab5f80752a2d30199 +MD5 a2b177727c488fe35b1a3de1277f7ae4 xmlrpc-epi-0.51.ebuild 687 +RMD160 4d906a67b70dc9975c5ea0c82bfdbcbc09b746ff xmlrpc-epi-0.51.ebuild 687 +SHA256 c6d8b0d0e373485934461240c97b6bfbb3a75f0989d2047ab5f80752a2d30199 xmlrpc-epi-0.51.ebuild 687 +MD5 7e895aeb0774b7ac737625938d136675 files/digest-xmlrpc-epi-0.51 247 +RMD160 6b2d900894895aecd0a778ffdcc031b16e848711 files/digest-xmlrpc-epi-0.51 247 +SHA256 ebee13b1a57eb81ca648b0b7f40674adb2867ee90b6f3e75b37e97928fe2279e files/digest-xmlrpc-epi-0.51 247 +MD5 7e895aeb0774b7ac737625938d136675 files/digest-xmlrpc-epi-0.51-r1 247 +RMD160 6b2d900894895aecd0a778ffdcc031b16e848711 files/digest-xmlrpc-epi-0.51-r1 247 +SHA256 ebee13b1a57eb81ca648b0b7f40674adb2867ee90b6f3e75b37e97928fe2279e files/digest-xmlrpc-epi-0.51-r1 247 diff --git a/dev-libs/xmlrpc-epi/files/digest-xmlrpc-epi-0.51 b/dev-libs/xmlrpc-epi/files/digest-xmlrpc-epi-0.51 new file mode 100644 index 0000000..a84756d --- /dev/null +++ b/dev-libs/xmlrpc-epi/files/digest-xmlrpc-epi-0.51 @@ -0,0 +1,3 @@ +MD5 51c5f062365f82ff1c26c2763e7f0654 xmlrpc-epi-0.51.tar.gz 458208 +RMD160 c505ee80460cbf521cdee8895a02273d5a773e8e xmlrpc-epi-0.51.tar.gz 458208 +SHA256 ec9e54e72e70b38d515d6fc69b4d591ed6018b65d9409965dfacdcd1f59d13b3 xmlrpc-epi-0.51.tar.gz 458208 diff --git a/dev-libs/xmlrpc-epi/files/digest-xmlrpc-epi-0.51-r1 b/dev-libs/xmlrpc-epi/files/digest-xmlrpc-epi-0.51-r1 new file mode 100644 index 0000000..a84756d --- /dev/null +++ b/dev-libs/xmlrpc-epi/files/digest-xmlrpc-epi-0.51-r1 @@ -0,0 +1,3 @@ +MD5 51c5f062365f82ff1c26c2763e7f0654 xmlrpc-epi-0.51.tar.gz 458208 +RMD160 c505ee80460cbf521cdee8895a02273d5a773e8e xmlrpc-epi-0.51.tar.gz 458208 +SHA256 ec9e54e72e70b38d515d6fc69b4d591ed6018b65d9409965dfacdcd1f59d13b3 xmlrpc-epi-0.51.tar.gz 458208 diff --git a/dev-libs/xmlrpc-epi/files/xmlrpc-epi-0.51-64bit-fixes.patch b/dev-libs/xmlrpc-epi/files/xmlrpc-epi-0.51-64bit-fixes.patch new file mode 100644 index 0000000..2134b23 --- /dev/null +++ b/dev-libs/xmlrpc-epi/files/xmlrpc-epi-0.51-64bit-fixes.patch @@ -0,0 +1,93 @@ +--- xmlrpc-epi-0.51/sample/sample.c.64bit-fixes 2001-09-16 16:33:17.000000000 -0400 ++++ xmlrpc-epi-0.51/sample/sample.c 2002-12-08 16:25:15.000000000 -0500 +@@ -38,6 +38,7 @@ + + #include <stdio.h> + #include <stdlib.h> ++#include <string.h> + #include "xmlrpc.h" + + +@@ -118,7 +119,7 @@ void describe_TestStruct(XMLRPC_SERVER s + } + else { + if(err.xml_elem_error.parser_code) { +- printf("parse error, line: %i, column: %i, message: %s\n", ++ printf("parse error, line: %ld, column: %ld, message: %s\n", + err.xml_elem_error.line, err.xml_elem_error.column, err.xml_elem_error.parser_error); + } + } +--- xmlrpc-epi-0.51/src/encodings.c.64bit-fixes 2002-03-12 13:08:18.000000000 -0500 ++++ xmlrpc-epi-0.51/src/encodings.c 2002-12-08 16:11:28.000000000 -0500 +@@ -42,9 +42,9 @@ static char* convert(const char* src, in + char* outbuf = 0; + + if(src && src_len && from_enc && to_enc) { +- int outlenleft = src_len; ++ size_t outlenleft = src_len; + int outlen = src_len; +- int inlenleft = src_len; ++ size_t inlenleft = src_len; + iconv_t ic = iconv_open(to_enc, from_enc); + char* src_ptr = (char*)src; + char* out_ptr = 0; +--- xmlrpc-epi-0.51/src/xml_element.c.64bit-fixes 2002-05-23 13:46:51.000000000 -0400 ++++ xmlrpc-epi-0.51/src/xml_element.c 2002-12-08 16:22:19.000000000 -0500 +@@ -461,9 +461,10 @@ static void xml_element_serialize(xml_el + } + + /* print buf to file */ +-static file_out_fptr(void *f, const char *text, int size) ++static int file_out_fptr(void *f, const char *text, int size) + { +- fputs(text, (FILE *)f); ++ // Assume we want to return 0 on success, -1 otherwise ++ return fputs(text, (FILE *)f) >= 0 ? 0 : -1; + } + + /* print buf to simplestring */ +@@ -473,6 +474,7 @@ static simplestring_out_fptr(void *f, co + if(buf) { + simplestring_addn(buf, text, size); + } ++ return 0; + } + + /****f* xml_element/xml_elem_serialize_to_string +@@ -687,7 +689,7 @@ xml_element* xml_elem_parse_buf(const ch + if(byte_idx >= 0) { + snprintf(buf, + sizeof(buf), +- "\n\tdata beginning %i before byte index: %s\n", ++ "\n\tdata beginning %ld before byte index: %s\n", + byte_idx > 10 ? 10 : byte_idx, + in_buf + (byte_idx > 10 ? byte_idx - 10 : byte_idx)); + } +@@ -696,7 +698,7 @@ xml_element* xml_elem_parse_buf(const ch + "\tdescription: %s\n" + "\tline: %i\n" + "\tcolumn: %i\n" +- "\tbyte index: %i\n" ++ "\tbyte index: %ld\n" + "\ttotal bytes: %i\n%s ", + err_code, error_str, line_num, + col_num, byte_idx, byte_total, buf); +--- xmlrpc-epi-0.51/src/xmlrpc.c.64bit-fixes 2002-03-09 18:15:44.000000000 -0500 ++++ xmlrpc-epi-0.51/src/xmlrpc.c 2002-12-08 16:23:50.000000000 -0500 +@@ -116,6 +116,7 @@ static const char rcsid[] = + #include <stdlib.h> + #include <string.h> + #include <stdarg.h> ++#include <ctype.h> + #include <time.h> + + #include "queue.h" +@@ -699,7 +700,7 @@ static XMLRPC_VALUE map_expat_errors (XM + XMLRPC_ERROR_CODE code; + char buf[1024]; + snprintf (buf, sizeof (buf), +- "error occurred at line %i, column %i, byte index %i", ++ "error occurred at line %ld, column %ld, byte index %ld", + error->line, error->column, error->byte_index); + + /* expat specific errors */ diff --git a/dev-libs/xmlrpc-epi/files/xmlrpc-epi-0.51-expat.patch b/dev-libs/xmlrpc-epi/files/xmlrpc-epi-0.51-expat.patch new file mode 100644 index 0000000..3bc010a --- /dev/null +++ b/dev-libs/xmlrpc-epi/files/xmlrpc-epi-0.51-expat.patch @@ -0,0 +1,83 @@ +diff -Naur xmlrpc-epi-0.51.orig/Makefile.am xmlrpc-epi-0.51/Makefile.am +--- xmlrpc-epi-0.51.orig/Makefile.am 2001-04-10 10:37:40.000000000 +0900 ++++ xmlrpc-epi-0.51/Makefile.am 2007-02-03 00:00:00.000000000 +0900 +@@ -1,4 +1,4 @@ +-SUBDIRS = expat src sample ++SUBDIRS = src sample + + CHANGE_LOG_GEN_BIN = scripts/cvs2cl.pl + CHANGE_LOG_GEN_FLAGS = -t -r -b --accum -I ChangeLog --gmt --prune +diff -Naur xmlrpc-epi-0.51.orig/configure.in xmlrpc-epi-0.51/configure.in +--- xmlrpc-epi-0.51.orig/configure.in 2002-06-24 08:48:29.000000000 +0900 ++++ xmlrpc-epi-0.51/configure.in 2007-02-03 00:29:58.000000000 +0900 +@@ -15,12 +15,11 @@ + AC_PROG_MAKE_SET + AC_PROG_LIBTOOL + +-LIBS="-L/usr/local/lib" ++LIBS="-lexpat" + + dnl Checks for header files. + AC_HEADER_STDC +-AC_CHECK_HEADERS(fcntl.h malloc.h unistd.h) +- ++AC_CHECK_HEADERS(fcntl.h malloc.h unistd.h expat.h) + + dnl Checks for typedefs, structures, and compiler characteristics. + AC_C_CONST +@@ -36,7 +35,7 @@ + + AC_CHECK_FUNCS(mktime strstr) + +-AC_OUTPUT(src/Makefile Makefile sample/Makefile expat/Makefile expat/xmltok/Makefile expat/xmlparse/Makefile) ++AC_OUTPUT(src/Makefile Makefile sample/Makefile) + + + +diff -Naur xmlrpc-epi-0.51.orig/sample/Makefile.am xmlrpc-epi-0.51/sample/Makefile.am +--- xmlrpc-epi-0.51.orig/sample/Makefile.am 2001-09-01 06:38:27.000000000 +0900 ++++ xmlrpc-epi-0.51/sample/Makefile.am 2007-02-03 00:17:22.000000000 +0900 +@@ -1,4 +1,4 @@ +-INCLUDES=-I../src -I../expat/xmltok -I../expat/xmlparse ++INCLUDES=-I../src + + bin_PROGRAMS = sample client server server_compliance_test memtest hello_client hello_server + +diff -Naur xmlrpc-epi-0.51.orig/src/Makefile.am xmlrpc-epi-0.51/src/Makefile.am +--- xmlrpc-epi-0.51.orig/src/Makefile.am 2001-09-17 05:27:27.000000000 +0900 ++++ xmlrpc-epi-0.51/src/Makefile.am 2007-02-03 00:14:27.000000000 +0900 +@@ -1,8 +1,8 @@ +-INCLUDES=-I../liblm -I../expat/xmltok -I../expat/xmlparse -I/usr/local/ssl/include ++INCLUDES=-I../liblm + + lib_LTLIBRARIES = libxmlrpc.la + +-libxmlrpc_la_LIBADD = ../expat/xmltok/libexpat_tok.la ../expat/xmlparse/libexpat_parse.la ++libxmlrpc_la_LIBADD = -lexpat + + libxmlrpc_la_SOURCES = \ + base64.c \ +diff -Naur xmlrpc-epi-0.51.orig/src/xml_element.c xmlrpc-epi-0.51/src/xml_element.c +--- xmlrpc-epi-0.51.orig/src/xml_element.c 2002-05-24 02:46:51.000000000 +0900 ++++ xmlrpc-epi-0.51/src/xml_element.c 2007-02-03 00:15:10.000000000 +0900 +@@ -91,7 +91,7 @@ + + #include "xml_element.h" + #include "queue.h" +-#include "xmlparse.h" ++#include "expat.h" + #include "encodings.h" + + #define my_free(thing) if(thing) {free(thing); thing = 0;} +diff -Naur xmlrpc-epi-0.51.orig/src/xmlrpc.c xmlrpc-epi-0.51/src/xmlrpc.c +--- xmlrpc-epi-0.51.orig/src/xmlrpc.c 2002-03-10 08:15:44.000000000 +0900 ++++ xmlrpc-epi-0.51/src/xmlrpc.c 2007-02-03 00:15:40.000000000 +0900 +@@ -120,7 +120,7 @@ + + #include "queue.h" + #include "xmlrpc.h" +-#include "xmlparse.h" ++#include "expat.h" + #include "base64.h" + + #include "xml_to_xmlrpc.h" diff --git a/dev-libs/xmlrpc-epi/files/xmlrpc-epi-0.51-gcc4.patch b/dev-libs/xmlrpc-epi/files/xmlrpc-epi-0.51-gcc4.patch new file mode 100644 index 0000000..c7ba6a1 --- /dev/null +++ b/dev-libs/xmlrpc-epi/files/xmlrpc-epi-0.51-gcc4.patch @@ -0,0 +1,11 @@ +--- xmlrpc-epi-0.51/src/xml_element.c.gcc4 2005-08-09 19:07:40.000000000 -0400 ++++ xmlrpc-epi-0.51/src/xml_element.c 2005-08-09 19:11:05.000000000 -0400 +@@ -170,7 +170,7 @@ void xml_elem_free_non_recurse(xml_eleme + + Q_Destroy(&root->children); + Q_Destroy(&root->attrs); +- my_free((char*)root->name); ++ my_free(root->name); + simplestring_free(&root->text); + my_free(root); + } diff --git a/dev-libs/xmlrpc-epi/files/xmlrpc-epi-0.51-noconflict.patch b/dev-libs/xmlrpc-epi/files/xmlrpc-epi-0.51-noconflict.patch new file mode 100644 index 0000000..19d4599 --- /dev/null +++ b/dev-libs/xmlrpc-epi/files/xmlrpc-epi-0.51-noconflict.patch @@ -0,0 +1,83 @@ +diff -Naur xmlrpc-epi-0.51.orig/Makefile.am xmlrpc-epi-0.51/Makefile.am +--- xmlrpc-epi-0.51.orig/Makefile.am 2008-01-28 23:23:34.000000000 +0900 ++++ xmlrpc-epi-0.51/Makefile.am 2008-01-29 00:24:09.000000000 +0900 +@@ -1,4 +1,4 @@ +-SUBDIRS = src sample ++SUBDIRS = src + + CHANGE_LOG_GEN_BIN = scripts/cvs2cl.pl + CHANGE_LOG_GEN_FLAGS = -t -r -b --accum -I ChangeLog --gmt --prune +diff -Naur xmlrpc-epi-0.51.orig/sample/Makefile.am xmlrpc-epi-0.51/sample/Makefile.am +--- xmlrpc-epi-0.51.orig/sample/Makefile.am 2008-01-28 23:23:34.000000000 +0900 ++++ xmlrpc-epi-0.51/sample/Makefile.am 2008-01-29 00:22:21.000000000 +0900 +@@ -3,23 +3,23 @@ + bin_PROGRAMS = sample client server server_compliance_test memtest hello_client hello_server + + sample_SOURCES = sample.c +-sample_LDADD = -L@prefix@/lib ../src/libxmlrpc.la ++sample_LDADD = -L@libdir@ ../src/libxmlrpc-epi.la + + client_SOURCES = client.c +-client_LDADD = -L@prefix@/lib ../src/libxmlrpc.la ++client_LDADD = -L@libdir@ ../src/libxmlrpc-epi.la + + server_SOURCES = server.c +-server_LDADD = -L@prefix@/lib ../src/libxmlrpc.la ++server_LDADD = -L@libdir@ ../src/libxmlrpc-epi.la + + hello_client_SOURCES = hello_client.c +-hello_client_LDADD = -L@prefix@/lib ../src/libxmlrpc.la ++hello_client_LDADD = -L@libdir@ ../src/libxmlrpc-epi.la + + hello_server_SOURCES = hello_server.c +-hello_server_LDADD = -L@prefix@/lib ../src/libxmlrpc.la ++hello_server_LDADD = -L@libdir@ ../src/libxmlrpc-epi.la + + server_compliance_test_SOURCES = server_compliance_test.c +-server_compliance_test_LDADD = -L@prefix@/lib ../src/libxmlrpc.la ++server_compliance_test_LDADD = -L@libdir@ ../src/libxmlrpc-epi.la + + memtest_SOURCES = memtest.c +-memtest_LDADD = -L@prefix@/lib ../src/libxmlrpc.la ++memtest_LDADD = -L@libdir@ ../src/libxmlrpc-epi.la + +diff -Naur xmlrpc-epi-0.51.orig/src/Makefile.am xmlrpc-epi-0.51/src/Makefile.am +--- xmlrpc-epi-0.51.orig/src/Makefile.am 2008-01-28 23:23:34.000000000 +0900 ++++ xmlrpc-epi-0.51/src/Makefile.am 2008-01-29 00:20:59.000000000 +0900 +@@ -1,10 +1,10 @@ + INCLUDES=-I../liblm + +-lib_LTLIBRARIES = libxmlrpc.la ++lib_LTLIBRARIES = libxmlrpc-epi.la + +-libxmlrpc_la_LIBADD = -lexpat ++libxmlrpc_epi_la_LIBADD = -lexpat + +-libxmlrpc_la_SOURCES = \ ++libxmlrpc_epi_la_SOURCES = \ + base64.c \ + encodings.c \ + queue.c \ +@@ -17,7 +17,7 @@ + xmlrpc_introspection.c \ + system_methods.c + +-libxmlrpc_la_LDFLAGS = -version-info 0:3:0 ++libxmlrpc_epi_la_LDFLAGS = -version-info 0:3:0 + include_HEADERS = \ + base64.h \ + encodings.h \ +@@ -38,11 +38,11 @@ + # + DOCSOURCES= \ + $(include_HEADERS) \ +- $(libxmlrpc_la_SOURCES) ++ $(libxmlrpc_epi_la_SOURCES) + + # The name of your Project + # +-PROJECT=xmlrpc ++PROJECT=xmlrpc-epi + + # The various documentation files, derived from the source files. + # HTML diff --git a/dev-libs/xmlrpc-epi/files/xmlrpc-epi-0.51-secondlife.patch b/dev-libs/xmlrpc-epi/files/xmlrpc-epi-0.51-secondlife.patch new file mode 100644 index 0000000..a5d31eb --- /dev/null +++ b/dev-libs/xmlrpc-epi/files/xmlrpc-epi-0.51-secondlife.patch @@ -0,0 +1,12 @@ +--- xmlrpc-epi-0.51-old/src/queue.h 2001-05-18 10:29:09.000000000 -0700 ++++ xmlrpc-epi-0.51-new/src/queue.h 2006-05-02 14:25:30.573246791 -0700 +@@ -24,6 +24,9 @@ + #define True_ 1 + #endif + ++/* 2006-05-02 Inserted to enable compilation of rpcserver on linux. Phoenix */ ++#define queue xmlrpc_queue ++ + typedef struct nodeptr datanode; + + typedef struct nodeptr { diff --git a/dev-libs/xmlrpc-epi/xmlrpc-epi-0.51-r1.ebuild b/dev-libs/xmlrpc-epi/xmlrpc-epi-0.51-r1.ebuild new file mode 100644 index 0000000..95d248d --- /dev/null +++ b/dev-libs/xmlrpc-epi/xmlrpc-epi-0.51-r1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +WANT_AUTOCONF=latest +WANT_AUTOMAKE=latest + +inherit autotools eutils + +DESCRIPTION="An implementation of the xmlrpc protocol in C" +HOMEPAGE="http://xmlrpc-epi.sourceforge.net/" +SRC_URI="mirror://sourceforge/xmlrpc-epi/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="sys-devel/gettext" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-64bit-fixes.patch + epatch "${FILESDIR}"/${P}-gcc4.patch + epatch "${FILESDIR}"/${P}-expat.patch + epatch "${FILESDIR}"/${P}-secondlife.patch + epatch "${FILESDIR}"/${P}-noconflict.patch + eautoreconf +} + +src_compile() { + econf --includedir=/usr/include/${PN} || die + emake || die +} + +src_install() { + emake DESTDIR="${D}" install || die + + dodoc AUTHORS ChangeLog NEWS README +} diff --git a/dev-libs/xmlrpc-epi/xmlrpc-epi-0.51.ebuild b/dev-libs/xmlrpc-epi/xmlrpc-epi-0.51.ebuild new file mode 100644 index 0000000..ee65079 --- /dev/null +++ b/dev-libs/xmlrpc-epi/xmlrpc-epi-0.51.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit autotools eutils + +DESCRIPTION="An implementation of the xmlrpc protocol in C" +HOMEPAGE="http://xmlrpc-epi.sourceforge.net/" +SRC_URI="mirror://sourceforge/xmlrpc-epi/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="sys-devel/gettext + !dev-libs/xmlrpc-c" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-64bit-fixes.patch + epatch "${FILESDIR}"/${P}-gcc4.patch + epatch "${FILESDIR}"/${P}-expat.patch + epatch "${FILESDIR}"/${P}-secondlife.patch + eautoreconf +} + +src_install() { + emake DESTDIR="${D}" install || die +} |