diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-01-14 03:27:27 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-01-14 03:27:27 +0000 |
commit | c4ae420756ccb39d938901e19c38d4fe21e70f64 (patch) | |
tree | 62da1bd80a71f2f1b13d3ebe4c454ef5fe3ef5e5 /net-misc/aget | |
parent | Do not build with strict code flags #227549. (diff) | |
download | gentoo-2-c4ae420756ccb39d938901e19c38d4fe21e70f64.tar.gz gentoo-2-c4ae420756ccb39d938901e19c38d4fe21e70f64.tar.bz2 gentoo-2-c4ae420756ccb39d938901e19c38d4fe21e70f64.zip |
Fix building with glibc-2.8 #240914 by Diego E. Pettenò.
(Portage version: 2.2_rc20/cvs/Linux 2.6.28 x86_64)
Diffstat (limited to 'net-misc/aget')
-rw-r--r-- | net-misc/aget/ChangeLog | 7 | ||||
-rw-r--r-- | net-misc/aget/aget-0.4.ebuild | 18 |
2 files changed, 13 insertions, 12 deletions
diff --git a/net-misc/aget/ChangeLog b/net-misc/aget/ChangeLog index 4f098a07f5bb..5a88ca6f3056 100644 --- a/net-misc/aget/ChangeLog +++ b/net-misc/aget/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for net-misc/aget -# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/aget/ChangeLog,v 1.13 2008/02/04 17:07:10 grobian Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/aget/ChangeLog,v 1.14 2009/01/14 03:27:27 vapier Exp $ + + 14 Jan 2009; Mike Frysinger <vapier@gentoo.org> aget-0.4.ebuild: + Fix building with glibc-2.8 #240914 by Diego E. Pettenò. 04 Feb 2008; Fabian Groffen <grobian@gentoo.org> aget-0.4.ebuild: Dropped ppc-macos keyword, see you in prefix diff --git a/net-misc/aget/aget-0.4.ebuild b/net-misc/aget/aget-0.4.ebuild index a100f5c54bde..9aed980fa5e8 100644 --- a/net-misc/aget/aget-0.4.ebuild +++ b/net-misc/aget/aget-0.4.ebuild @@ -1,10 +1,9 @@ -# Copyright 1999-2008 Gentoo Foundation +# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/aget/aget-0.4.ebuild,v 1.12 2008/02/04 17:07:10 grobian Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/aget/aget-0.4.ebuild,v 1.13 2009/01/14 03:27:27 vapier Exp $ inherit eutils -IUSE="" DEB_PATCH="${PN}_${PV}-4.diff" DESCRIPTION="multithreaded HTTP download accelerator" HOMEPAGE="http://www.enderunix.org/aget/" @@ -14,18 +13,17 @@ SRC_URI="http://www.enderunix.org/${PN}/${P}.tar.gz LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~mips ~ppc ppc64 ~sparc ~x86" - -DEPEND="virtual/libc" +IUSE="" src_unpack() { unpack ${A} cd "${S}" epatch "${WORKDIR}"/${DEB_PATCH} - sed -i "/^CFLAGS/s:-g:${CFLAGS}:" Makefile -} - -src_compile() { - emake || die + sed -i \ + -e '/^CFLAGS/s:=.*:+= -Wall $(CPPFLAGS):' \ + -e '/^LDFLAGS/s:=:+=:' \ + Makefile + sed -i '/_XOPEN_SOURCE/d' Head.c } src_install() { |