From d7df588297cbd6ee311607c184699bdbb63b251a Mon Sep 17 00:00:00 2001 From: Justin Lecher Date: Wed, 8 Aug 2012 08:14:29 +0000 Subject: dev-util/httpup: Fix for compilation with gcc-4.7, #430338 (Portage version: 2.2.0_alpha120/cvs/Linux x86_64) --- dev-util/httpup/ChangeLog | 8 ++++++-- dev-util/httpup/files/httpup-0.4.0k-gcc-4.7.patch | 15 +++++++++++++++ dev-util/httpup/httpup-0.4.0k.ebuild | 17 ++++++++--------- dev-util/httpup/metadata.xml | 6 +++--- 4 files changed, 32 insertions(+), 14 deletions(-) create mode 100644 dev-util/httpup/files/httpup-0.4.0k-gcc-4.7.patch (limited to 'dev-util') diff --git a/dev-util/httpup/ChangeLog b/dev-util/httpup/ChangeLog index 14b8eea8eeb8..455405fe22e2 100644 --- a/dev-util/httpup/ChangeLog +++ b/dev-util/httpup/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-util/httpup -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/httpup/ChangeLog,v 1.10 2010/05/22 17:42:17 grobian Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/httpup/ChangeLog,v 1.11 2012/08/08 08:14:29 jlec Exp $ + + 08 Aug 2012; Justin Lecher httpup-0.4.0k.ebuild, + +files/httpup-0.4.0k-gcc-4.7.patch, metadata.xml: + Fix for compilation with gcc-4.7, #430338 22 May 2010; Fabian Groffen httpup-0.4.0k.ebuild: Fix ebuild for Prefix, bump to EAPI=3 diff --git a/dev-util/httpup/files/httpup-0.4.0k-gcc-4.7.patch b/dev-util/httpup/files/httpup-0.4.0k-gcc-4.7.patch new file mode 100644 index 000000000000..c015cecaf538 --- /dev/null +++ b/dev-util/httpup/files/httpup-0.4.0k-gcc-4.7.patch @@ -0,0 +1,15 @@ + main.cpp | 1 + + 1 files changed, 1 insertions(+), 0 deletions(-) + +diff --git a/main.cpp b/main.cpp +index 3040b9d..2d807ed 100644 +--- a/main.cpp ++++ b/main.cpp +@@ -12,6 +12,7 @@ + #include + #include + #include ++#include + using namespace std; + + #include "httpup.h" diff --git a/dev-util/httpup/httpup-0.4.0k.ebuild b/dev-util/httpup/httpup-0.4.0k.ebuild index 595d63ff49b1..66000929b35e 100644 --- a/dev-util/httpup/httpup-0.4.0k.ebuild +++ b/dev-util/httpup/httpup-0.4.0k.ebuild @@ -1,8 +1,9 @@ -# Copyright 1999-2010 Gentoo Foundation +# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/httpup/httpup-0.4.0k.ebuild,v 1.2 2010/05/22 17:42:17 grobian Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/httpup/httpup-0.4.0k.ebuild,v 1.3 2012/08/08 08:14:29 jlec Exp $ + +EAPI=4 -EAPI="3" inherit eutils toolchain-funcs DESCRIPTION="synchronisation tool for http file repositories" @@ -17,17 +18,15 @@ IUSE="" DEPEND="net-misc/curl" src_prepare() { - epatch "${FILESDIR}"/${P}-Makefile.patch -} - -src_compile() { + epatch \ + "${FILESDIR}"/${P}-Makefile.patch \ + "${FILESDIR}"/${P}-gcc-4.7.patch tc-export CC CXX - emake || die } src_install() { emake DESTDIR="${D}" \ mandir="${EPREFIX}/usr/share/man" \ - prefix="${EPREFIX}/usr" install || die + prefix="${EPREFIX}/usr" install dodoc AUTHORS ChangeLog httpup.conf.example README TODO } diff --git a/dev-util/httpup/metadata.xml b/dev-util/httpup/metadata.xml index d9cd2cad66c2..91f4e72fb544 100644 --- a/dev-util/httpup/metadata.xml +++ b/dev-util/httpup/metadata.xml @@ -1,7 +1,7 @@ - -maintainer-needed@gentoo.org - + + maintainer-needed@gentoo.org + -- cgit v1.2.3-65-gdbad