summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJavier Villavicencio <the_paya@gentoo.org>2006-07-18 19:53:48 +0000
committerJavier Villavicencio <the_paya@gentoo.org>2006-07-18 19:53:48 +0000
commit4fed476ba86de37e9181b86eab8778e206861232 (patch)
tree59a4e09636e4e7682b181ac71b4e55ee409cb6e5 /sys-freebsd
parentStable on amd64. (diff)
downloadgentoo-2-4fed476ba86de37e9181b86eab8778e206861232.tar.gz
gentoo-2-4fed476ba86de37e9181b86eab8778e206861232.tar.bz2
gentoo-2-4fed476ba86de37e9181b86eab8778e206861232.zip
Fixes compilation with gcc-4.1.1
(Portage version: 2.1.1_pre3)
Diffstat (limited to 'sys-freebsd')
-rw-r--r--sys-freebsd/boot0/ChangeLog6
-rw-r--r--sys-freebsd/boot0/boot0-6.0.ebuild4
-rw-r--r--sys-freebsd/boot0/boot0-6.1.ebuild4
3 files changed, 9 insertions, 5 deletions
diff --git a/sys-freebsd/boot0/ChangeLog b/sys-freebsd/boot0/ChangeLog
index 490c5680a313..83284d24f301 100644
--- a/sys-freebsd/boot0/ChangeLog
+++ b/sys-freebsd/boot0/ChangeLog
@@ -1,6 +1,10 @@
# 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.6 2006/05/09 07:33:10 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/boot0/ChangeLog,v 1.7 2006/07/18 19:53:48 the_paya Exp $
+
+ 18 Jul 2006; Javier Villavicencio <the_paya@gentoo.org> boot0-6.0.ebuild,
+ boot0-6.1.ebuild:
+ Fixes compilation with gcc-4.1.1.
*boot0-6.1 (09 May 2006)
diff --git a/sys-freebsd/boot0/boot0-6.0.ebuild b/sys-freebsd/boot0/boot0-6.0.ebuild
index 6e3da2774b33..e8e1fb316b41 100644
--- a/sys-freebsd/boot0/boot0-6.0.ebuild
+++ b/sys-freebsd/boot0/boot0-6.0.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.0.ebuild,v 1.2 2006/05/01 02:09:47 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/boot0/boot0-6.0.ebuild,v 1.3 2006/07/18 19:53:48 the_paya Exp $
inherit bsdmk freebsd
@@ -24,7 +24,7 @@ src_unpack() {
freebsd_src_unpack
grep -Zlr -- -ffreestanding "${S}" | xargs -0 sed -i -e \
- 's:-ffreestanding:-ffreestanding -fno-stack-protector -fno-stack-protector-all:g'
+ "s:-ffreestanding:-ffreestanding $(test-flags -fno-stack-protector -fno-stack-protector-all):g"
}
src_install() {
diff --git a/sys-freebsd/boot0/boot0-6.1.ebuild b/sys-freebsd/boot0/boot0-6.1.ebuild
index 8a608bfa3cd4..0e375235b607 100644
--- a/sys-freebsd/boot0/boot0-6.1.ebuild
+++ b/sys-freebsd/boot0/boot0-6.1.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.1.ebuild,v 1.1 2006/05/09 07:33:10 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/boot0/boot0-6.1.ebuild,v 1.2 2006/07/18 19:53:48 the_paya Exp $
inherit bsdmk freebsd
@@ -24,7 +24,7 @@ src_unpack() {
freebsd_src_unpack
grep -Zlr -- -ffreestanding "${S}" | xargs -0 sed -i -e \
- 's:-ffreestanding:-ffreestanding -fno-stack-protector -fno-stack-protector-all:g'
+ "s:-ffreestanding:-ffreestanding $(test-flags -fno-stack-protector -fno-stack-protector-all):g"
}
src_install() {