summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimothy Redaelli <drizzt@gentoo.org>2006-11-19 13:35:02 +0000
committerTimothy Redaelli <drizzt@gentoo.org>2006-11-19 13:35:02 +0000
commitf3b73483298b093dc5cd6430206be0bc97b49cff (patch)
tree16de8cafda96eaf09a375a43b41e5c32e9e7972f /sys-freebsd/boot0
parentStable on ppc wrt bug 155497 (diff)
downloadgentoo-2-f3b73483298b093dc5cd6430206be0bc97b49cff.tar.gz
gentoo-2-f3b73483298b093dc5cd6430206be0bc97b49cff.tar.bz2
gentoo-2-f3b73483298b093dc5cd6430206be0bc97b49cff.zip
Patched to make it compile on GCC 4.
(Portage version: 2.1.2_rc1-r4)
Diffstat (limited to 'sys-freebsd/boot0')
-rw-r--r--sys-freebsd/boot0/ChangeLog5
-rw-r--r--sys-freebsd/boot0/boot0-6.2_rc1.ebuild7
2 files changed, 8 insertions, 4 deletions
diff --git a/sys-freebsd/boot0/ChangeLog b/sys-freebsd/boot0/ChangeLog
index d92ee5c561f9..3ecc9fd1c3c4 100644
--- a/sys-freebsd/boot0/ChangeLog
+++ b/sys-freebsd/boot0/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-freebsd/boot0
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/boot0/ChangeLog,v 1.16 2006/11/19 01:33:26 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/boot0/ChangeLog,v 1.17 2006/11/19 13:35:02 drizzt Exp $
+
+ 19 Nov 2006; Timothy Redaelli <drizzt@gentoo.org> boot0-6.2_rc1.ebuild:
+ Patched to make it compile on GCC 4.
*boot0-6.2_rc1 (19 Nov 2006)
diff --git a/sys-freebsd/boot0/boot0-6.2_rc1.ebuild b/sys-freebsd/boot0/boot0-6.2_rc1.ebuild
index b937a48cd4b7..9ae3c90e7402 100644
--- a/sys-freebsd/boot0/boot0-6.2_rc1.ebuild
+++ b/sys-freebsd/boot0/boot0-6.2_rc1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/boot0/boot0-6.2_rc1.ebuild,v 1.1 2006/11/19 01:33:26 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/boot0/boot0-6.2_rc1.ebuild,v 1.2 2006/11/19 13:35:02 drizzt Exp $
inherit bsdmk freebsd
@@ -24,8 +24,9 @@ PATCHES="${FILESDIR}/boot0-6.0-gentoo.patch
src_unpack() {
freebsd_src_unpack
- grep -Zlr -- -ffreestanding "${S}" | xargs -0 sed -i -e \
- "s:-ffreestanding:-ffreestanding $(test-flags -fno-stack-protector -fno-stack-protector-all):g"
+ grep -lr --null -- -ffreestanding "${S}" | xargs -0 sed -i -e \
+ "s:-ffreestanding:-ffreestanding $(test-flags -fno-stack-protector -fno-stack-protector-all):g" || die
+ sed -i -e '/-fomit-frame-pointer/d' "${S}"/i386/boot2/Makefile || die
}
src_install() {