summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKacper Kowalik <xarthisius@gentoo.org>2010-07-10 15:00:26 +0000
committerKacper Kowalik <xarthisius@gentoo.org>2010-07-10 15:00:26 +0000
commitc38d62a7bd6e671a295ecd14536d1baad5a3be7e (patch)
tree6a02e54f2ef16461f8496cec85004456ae42a55e /sci-mathematics/drgeo/drgeo-1.1.0.ebuild
parentneeds joystick for libsdl (diff)
downloadgentoo-2-c38d62a7bd6e671a295ecd14536d1baad5a3be7e.tar.gz
gentoo-2-c38d62a7bd6e671a295ecd14536d1baad5a3be7e.tar.bz2
gentoo-2-c38d62a7bd6e671a295ecd14536d1baad5a3be7e.zip
Fix build with GCC 4.5 wrt bug 322211. Thanks to Diego for reporting. Apply fedora patch to fix random SIGSEGV
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'sci-mathematics/drgeo/drgeo-1.1.0.ebuild')
-rw-r--r--sci-mathematics/drgeo/drgeo-1.1.0.ebuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/sci-mathematics/drgeo/drgeo-1.1.0.ebuild b/sci-mathematics/drgeo/drgeo-1.1.0.ebuild
index e2aa560c273f..3e9e30b532b8 100644
--- a/sci-mathematics/drgeo/drgeo-1.1.0.ebuild
+++ b/sci-mathematics/drgeo/drgeo-1.1.0.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/drgeo/drgeo-1.1.0.ebuild,v 1.6 2009/09/20 12:52:43 betelgeuse Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/drgeo/drgeo-1.1.0.ebuild,v 1.7 2010/07/10 15:00:26 xarthisius Exp $
EAPI="2"
@@ -31,6 +31,10 @@ RDEPEND=">=x11-libs/gtk+-2
DEPEND="${RDEPEND}
dev-util/pkgconfig"
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-gcc45.patch
+}
+
src_configure() {
default
# Can't make the documentation as it depends on Hyperlatex which isn't