From a71ce27ff8838bca2907f3773d25fedb3e839a01 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 29 Jan 2006 07:36:29 +0000 Subject: fix building with gcc-4 Package-Manager: portage-2.1_pre3-r1 --- app-arch/pure-sfv/Manifest | 8 ++++---- app-arch/pure-sfv/pure-sfv-0.3.ebuild | 14 ++++++-------- 2 files changed, 10 insertions(+), 12 deletions(-) (limited to 'app-arch/pure-sfv') diff --git a/app-arch/pure-sfv/Manifest b/app-arch/pure-sfv/Manifest index 0ca2b66833b4..6a6e8d4ffde8 100644 --- a/app-arch/pure-sfv/Manifest +++ b/app-arch/pure-sfv/Manifest @@ -4,11 +4,11 @@ Hash: SHA1 MD5 9a02005a98f47da11699bcb013b6f1c1 ChangeLog 926 MD5 7d7ba97578b6bdc7d018e40fc31e19cb files/digest-pure-sfv-0.3 67 MD5 1652522405f5936eb29776ef8d5ffa5b metadata.xml 310 -MD5 58773ce68f4d9aac9bc679bf6b4f5cf6 pure-sfv-0.3.ebuild 669 +MD5 0e658a63ac7adb09d106788a22f562a6 pure-sfv-0.3.ebuild 658 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) -iD8DBQFDi8S3gIKl8Uu19MoRAqUTAJ47J5a/Oq1FL4eLgPRAGlmMVMHoHgCeNlpB -eCa9p9iibWjY5nnHG3GxaKY= -=Z2Ua +iD8DBQFD3HCW2+ySkm8kpY0RAu36AKCSQo/A9uv7loNsA5sbqR3tsm00UQCfV+AK +tx9CgPsGQIRQodVkOVFCym0= +=s+VU -----END PGP SIGNATURE----- diff --git a/app-arch/pure-sfv/pure-sfv-0.3.ebuild b/app-arch/pure-sfv/pure-sfv-0.3.ebuild index ee2dfe4a0dc5..506fa1aceea6 100644 --- a/app-arch/pure-sfv/pure-sfv-0.3.ebuild +++ b/app-arch/pure-sfv/pure-sfv-0.3.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2005 Gentoo Foundation +# Copyright 1999-2006 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.12 2005/11/29 03:00:00 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-arch/pure-sfv/pure-sfv-0.3.ebuild,v 1.13 2006/01/29 07:36:29 vapier Exp $ DESCRIPTION="utility to test and create .sfv files and create .par files" HOMEPAGE="http://pure-sfv.sourceforge.net/" @@ -10,18 +10,16 @@ LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 ~hppa ppc sparc x86" IUSE="" +RESTRICT="test" -DEPEND="virtual/libc" +DEPEND="" S=${WORKDIR} src_unpack() { unpack ${A} - sed -i 's:-O2 -g::' ${S}/Makefile -} - -src_compile() { - emake || die + cd "${S}" + sed -i 's:-O2 -g::;s:-Werror::' Makefile } src_install() { -- cgit v1.2.3-65-gdbad