diff options
-rw-r--r-- | dev-libs/xmlrpc-c/files/gentoo-0.9.9.patch | 10 | ||||
-rw-r--r-- | dev-libs/xmlrpc-c/xmlrpc-c-0.9.9.ebuild | 8 |
2 files changed, 17 insertions, 1 deletions
diff --git a/dev-libs/xmlrpc-c/files/gentoo-0.9.9.patch b/dev-libs/xmlrpc-c/files/gentoo-0.9.9.patch new file mode 100644 index 000000000000..4c5544c5b29c --- /dev/null +++ b/dev-libs/xmlrpc-c/files/gentoo-0.9.9.patch @@ -0,0 +1,10 @@ +--- XmlRpcCpp.ori 2003-03-08 22:07:00.000000000 +0100 ++++ XmlRpcCpp.h 2003-03-08 22:07:10.000000000 +0100 +@@ -25,6 +25,7 @@ + // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + // SUCH DAMAGE. + ++using namespace std; + + //========================================================================= + // XML-RPC C++ API diff --git a/dev-libs/xmlrpc-c/xmlrpc-c-0.9.9.ebuild b/dev-libs/xmlrpc-c/xmlrpc-c-0.9.9.ebuild index 1ce34aa6d57b..944bc48f6e1b 100644 --- a/dev-libs/xmlrpc-c/xmlrpc-c-0.9.9.ebuild +++ b/dev-libs/xmlrpc-c/xmlrpc-c-0.9.9.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/xmlrpc-c/xmlrpc-c-0.9.9.ebuild,v 1.1 2003/03/08 20:56:57 pvdabeel Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/xmlrpc-c/xmlrpc-c-0.9.9.ebuild,v 1.2 2003/03/08 21:06:13 pvdabeel Exp $ A=xmlrpc-c-${PV}.tar.gz S=${WORKDIR}/xmlrpc-c-${PV} @@ -14,6 +14,12 @@ SLOT="0" DEPEND="virtual/glibc net-libs/libwww" +src_unpack() { + unpack ${A} + cd ${S}/src + epatch ${FILESDIR}/gentoo-${PV}.patch +} + src_install() { make prefix=${D}/usr install } |