diff options
author | Christoph Mende <angelos@gentoo.org> | 2009-01-03 17:39:34 +0000 |
---|---|---|
committer | Christoph Mende <angelos@gentoo.org> | 2009-01-03 17:39:34 +0000 |
commit | ffb04776c69b63fa2e2e9b9374f88ed56dabe0fe (patch) | |
tree | 71847022be5b883cb00bf1ad4a9ab601aed1182b /app-arch/pure-sfv | |
parent | amd64 stable (diff) | |
download | gentoo-2-ffb04776c69b63fa2e2e9b9374f88ed56dabe0fe.tar.gz gentoo-2-ffb04776c69b63fa2e2e9b9374f88ed56dabe0fe.tar.bz2 gentoo-2-ffb04776c69b63fa2e2e9b9374f88ed56dabe0fe.zip |
QA: Fixed compilation with --as-needed (bug 246858)
(Portage version: 2.2_rc20/cvs/Linux 2.6.28 x86_64)
Diffstat (limited to 'app-arch/pure-sfv')
-rw-r--r-- | app-arch/pure-sfv/ChangeLog | 8 | ||||
-rw-r--r-- | app-arch/pure-sfv/files/pure-sfv-0.3-asneeded.patch | 11 | ||||
-rw-r--r-- | app-arch/pure-sfv/pure-sfv-0.3.ebuild | 13 |
3 files changed, 24 insertions, 8 deletions
diff --git a/app-arch/pure-sfv/ChangeLog b/app-arch/pure-sfv/ChangeLog index 25883c61a270..ac7f75344540 100644 --- a/app-arch/pure-sfv/ChangeLog +++ b/app-arch/pure-sfv/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-arch/pure-sfv -# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-arch/pure-sfv/ChangeLog,v 1.12 2008/10/27 18:17:08 flameeyes Exp $ +# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-arch/pure-sfv/ChangeLog,v 1.13 2009/01/03 17:39:34 angelos Exp $ + + 03 Jan 2009; Christoph Mende <angelos@gentoo.org> + +files/pure-sfv-0.3-asneeded.patch, pure-sfv-0.3.ebuild: + QA: Fixed compilation with --as-needed (bug 246858) 27 Oct 2008; Diego Pettenò <flameeyes@gentoo.org> pure-sfv-0.3.ebuild: Fix typo. diff --git a/app-arch/pure-sfv/files/pure-sfv-0.3-asneeded.patch b/app-arch/pure-sfv/files/pure-sfv-0.3-asneeded.patch new file mode 100644 index 000000000000..50160a6d34c5 --- /dev/null +++ b/app-arch/pure-sfv/files/pure-sfv-0.3-asneeded.patch @@ -0,0 +1,11 @@ +--- Makefile.orig 2009-01-03 18:36:24.349399478 +0100 ++++ Makefile 2009-01-03 18:36:37.218398964 +0100 +@@ -65,7 +65,7 @@ + OBJ = ${SRCS:%.c=%.o} + + pure-sfv: $(OBJ) +- $(CC) -lm -DVERSION=\"$(VERSION)\" $(CFLAGS) -o $(PROG) $(OBJ) ++ $(CC) -DVERSION=\"$(VERSION)\" $(CFLAGS) -o $(PROG) $(OBJ) -lm + + PURIFY_OPTIONS=-follow-child-processes=yes -always-use-cache-dir=yes + PURIFY=purify diff --git a/app-arch/pure-sfv/pure-sfv-0.3.ebuild b/app-arch/pure-sfv/pure-sfv-0.3.ebuild index fe7a338fafa8..4621d052bfef 100644 --- a/app-arch/pure-sfv/pure-sfv-0.3.ebuild +++ b/app-arch/pure-sfv/pure-sfv-0.3.ebuild @@ -1,8 +1,8 @@ -# 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/app-arch/pure-sfv/pure-sfv-0.3.ebuild,v 1.15 2008/10/27 18:17:08 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-arch/pure-sfv/pure-sfv-0.3.ebuild,v 1.16 2009/01/03 17:39:34 angelos Exp $ -inherit toolchain-funcs +inherit eutils toolchain-funcs DESCRIPTION="utility to test and create .sfv files and create .par files" HOMEPAGE="http://pure-sfv.sourceforge.net/" @@ -16,12 +16,13 @@ RESTRICT="test" DEPEND="" -S=${WORKDIR} +S="${WORKDIR}" src_unpack() { unpack ${A} cd "${S}" - sed -i 's:-O2 -g::;s:-Werror::' Makefile + sed -i -e "s:-Werror -O2 -g::" Makefile + epatch "${FILESDIR}"/${P}-asneeded.patch } src_compile() { @@ -29,6 +30,6 @@ src_compile() { } src_install() { - dobin pure-sfv || die + dobin pure-sfv || die "dobin failed" dodoc ReadMe.txt } |