diff options
author | Karol Wojtaszek <sekretarz@gentoo.org> | 2004-09-23 16:06:07 +0000 |
---|---|---|
committer | Karol Wojtaszek <sekretarz@gentoo.org> | 2004-09-23 16:06:07 +0000 |
commit | 4d7128098c4064cd91eb990d8a824a9931b710e3 (patch) | |
tree | 813c15324ee1e795e354b59e5bba335c25589e89 /net-misc | |
parent | forgot my GRP_STAGE23_USE (diff) | |
download | historical-4d7128098c4064cd91eb990d8a824a9931b710e3.tar.gz historical-4d7128098c4064cd91eb990d8a824a9931b710e3.tar.bz2 historical-4d7128098c4064cd91eb990d8a824a9931b710e3.zip |
Fixed gcc-3.4 compile issues.
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/mknbi/ChangeLog | 6 | ||||
-rw-r--r-- | net-misc/mknbi/Manifest | 4 | ||||
-rw-r--r-- | net-misc/mknbi/mknbi-1.4.3.ebuild | 11 |
3 files changed, 17 insertions, 4 deletions
diff --git a/net-misc/mknbi/ChangeLog b/net-misc/mknbi/ChangeLog index 4e2fabd9d14a..24113960c04d 100644 --- a/net-misc/mknbi/ChangeLog +++ b/net-misc/mknbi/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-misc/mknbi # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/mknbi/ChangeLog,v 1.10 2004/06/24 23:56:26 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/mknbi/ChangeLog,v 1.11 2004/09/23 16:06:07 sekretarz Exp $ + + 23 Sep 2004; Karol Wojtaszek <sekretarz@gentoo.org> mknbi-1.4.3.ebuild: + Fixed gcc-3.4 compile issues. Thanks to Mark Loeser <halcyon@whiterapid.com> + in Bug 64049 25 Apr 2004; Jon Hood <squinky86@gentoo.org> mknbi-1.4.0.ebuild, mknbi-1.4.1.ebuild, mknbi-1.4.3.ebuild: diff --git a/net-misc/mknbi/Manifest b/net-misc/mknbi/Manifest index 3af83b25a86f..debae7ed5272 100644 --- a/net-misc/mknbi/Manifest +++ b/net-misc/mknbi/Manifest @@ -1,8 +1,8 @@ MD5 49aa5c173854f255f8783cf162ff0b15 mknbi-1.4.1.ebuild 714 MD5 1df87972be6f6fa00be9245527ed24bb mknbi-1.2.11.ebuild 873 -MD5 04a8559ef272b8fed5574779e709176f mknbi-1.4.3.ebuild 714 +MD5 39ba184b07ed4720c4a54761d277e4c3 mknbi-1.4.3.ebuild 979 MD5 77718418b6f49034178ede281576d364 mknbi-1.4.0.ebuild 736 -MD5 f22cea94619647f2c228bae6427cb1a1 ChangeLog 1318 +MD5 3cd9c840f7a960b77776c33fd09b712d ChangeLog 1488 MD5 1f6980122e0cd2316ce019ad067083b9 mknbi-1.2.12.ebuild 874 MD5 febff7af7446b0484f11f6a4274e6590 files/digest-mknbi-1.2.11 61 MD5 febff7af7446b0484f11f6a4274e6590 files/digest-mknbi-1.2.12 61 diff --git a/net-misc/mknbi/mknbi-1.4.3.ebuild b/net-misc/mknbi/mknbi-1.4.3.ebuild index 81afa6fb3576..f06f3e12eb76 100644 --- a/net-misc/mknbi/mknbi-1.4.3.ebuild +++ b/net-misc/mknbi/mknbi-1.4.3.ebuild @@ -1,6 +1,8 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/mknbi/mknbi-1.4.3.ebuild,v 1.5 2004/07/15 03:04:35 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/mknbi/mknbi-1.4.3.ebuild,v 1.6 2004/09/23 16:06:07 sekretarz Exp $ + +inherit gcc DESCRIPTION="Utility for making tagged kernel images useful for netbooting" SRC_URI="mirror://sourceforge/etherboot/${P}.tar.gz" @@ -18,6 +20,13 @@ DEPEND=">=dev-lang/perl-5.6.1 src_compile() { sed -i -e "s:\/usr\/local:\/usr:" Makefile + + #apply modifications to CFLAGS to fix for gcc 3.4: bug #64049 + if [ "`gcc-major-version`" -ge "3" -a "`gcc-minor-version`" -ge "4" ] + then + sed -i -e "s:\-mcpu:\-mtune:" Makefile + sed -i -e "s:CFLAGS=:CFLAGS= -minline-all-stringops:" Makefile + fi emake || die "Compile failed" } |