summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonnie Berkholz <dberkholz@gentoo.org>2006-08-23 00:46:43 +0000
committerDonnie Berkholz <dberkholz@gentoo.org>2006-08-23 00:46:43 +0000
commitcd89f8ed32ca99e60a37731d4eb0ff182426e5f2 (patch)
tree402073147bc05e49ae0e3382684de767ff9e00b7 /x11-libs
parentStable on SPARC wrt bug #144686. (diff)
downloadgentoo-2-cd89f8ed32ca99e60a37731d4eb0ff182426e5f2.tar.gz
gentoo-2-cd89f8ed32ca99e60a37731d4eb0ff182426e5f2.tar.bz2
gentoo-2-cd89f8ed32ca99e60a37731d4eb0ff182426e5f2.zip
Same gcc-4 fix as for 1.2
(Portage version: 2.1.1_pre5-r2)
Diffstat (limited to 'x11-libs')
-rw-r--r--x11-libs/fox/ChangeLog5
-rw-r--r--x11-libs/fox/files/digest-fox-1.0.532
-rw-r--r--x11-libs/fox/fox-1.0.53.ebuild11
3 files changed, 15 insertions, 3 deletions
diff --git a/x11-libs/fox/ChangeLog b/x11-libs/fox/ChangeLog
index f7fedce2379e..205a3de4ec9c 100644
--- a/x11-libs/fox/ChangeLog
+++ b/x11-libs/fox/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for x11-libs/fox
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/fox/ChangeLog,v 1.53 2006/08/23 00:16:45 dberkholz Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/fox/ChangeLog,v 1.54 2006/08/23 00:46:43 dberkholz Exp $
+
+ 23 Aug 2006; Donnie Berkholz <dberkholz@gentoo.org>; fox-1.0.53.ebuild:
+ Same gcc-4 fix as for 1.2
*fox-1.6.14 (23 Aug 2006)
*fox-1.4.34 (23 Aug 2006)
diff --git a/x11-libs/fox/files/digest-fox-1.0.53 b/x11-libs/fox/files/digest-fox-1.0.53
index e50a7251241d..a18628f067e0 100644
--- a/x11-libs/fox/files/digest-fox-1.0.53
+++ b/x11-libs/fox/files/digest-fox-1.0.53
@@ -1 +1,3 @@
MD5 0b0c352154a24629985d9eccbd2e6bc6 fox-1.0.53.tar.gz 2120403
+RMD160 639c53b8d744cb1bd6674d022bd6a8fdf3cd593d fox-1.0.53.tar.gz 2120403
+SHA256 74fda862214869a20f0f3f83726c41d04e9159820a0a92042d9396425bb4ccd6 fox-1.0.53.tar.gz 2120403
diff --git a/x11-libs/fox/fox-1.0.53.ebuild b/x11-libs/fox/fox-1.0.53.ebuild
index b5a03abe21be..e4408ff3715a 100644
--- a/x11-libs/fox/fox-1.0.53.ebuild
+++ b/x11-libs/fox/fox-1.0.53.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/fox/fox-1.0.53.ebuild,v 1.2 2006/01/25 05:08:14 spyderous Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/fox/fox-1.0.53.ebuild,v 1.3 2006/08/23 00:46:43 dberkholz Exp $
-inherit fox
+inherit toolchain-funcs flag-o-matic fox
LICENSE="LGPL-2.1"
SLOT="0"
@@ -37,3 +37,10 @@ FOXCONF="$(use_enable cups) \
use opengl \
&& FOXCONF="${FOXCONF} --with-opengl=opengl" \
|| FOXCONF="${FOXCONF} --without-opengl"
+
+src_compile() {
+ if [[ $(gcc-major-version) -ge 4 ]]; then
+ append-flags -ffriend-injection
+ fi
+ fox_src_compile
+}