summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2006-05-19 20:19:58 +0000
committerAlfredo Tupone <tupone@gentoo.org>2006-05-19 20:19:58 +0000
commit1106b06454478623a3136013807a2f6109bd9424 (patch)
tree5eaa623fea804ce5acae67bf17a735eab2572033 /games-puzzle/magiccube4d/magiccube4d-2.2.ebuild
parentMake sure that the correct includedir and the correct library name is used. S... (diff)
downloadhistorical-1106b06454478623a3136013807a2f6109bd9424.tar.gz
historical-1106b06454478623a3136013807a2f6109bd9424.tar.bz2
historical-1106b06454478623a3136013807a2f6109bd9424.zip
Fix for gcc-4.1
Package-Manager: portage-2.1_rc1-r2
Diffstat (limited to 'games-puzzle/magiccube4d/magiccube4d-2.2.ebuild')
-rw-r--r--games-puzzle/magiccube4d/magiccube4d-2.2.ebuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/games-puzzle/magiccube4d/magiccube4d-2.2.ebuild b/games-puzzle/magiccube4d/magiccube4d-2.2.ebuild
index 02e02c26898b..ff88538d2889 100644
--- a/games-puzzle/magiccube4d/magiccube4d-2.2.ebuild
+++ b/games-puzzle/magiccube4d/magiccube4d-2.2.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/games-puzzle/magiccube4d/magiccube4d-2.2.ebuild,v 1.7 2006/02/17 22:16:08 tupone Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/magiccube4d/magiccube4d-2.2.ebuild,v 1.8 2006/05/19 20:19:58 tupone Exp $
inherit eutils games
@@ -21,7 +21,10 @@ S="${WORKDIR}/${PN}-src-${MY_PV}"
src_unpack() {
unpack ${A}
cd ${S}
- epatch ${FILESDIR}/${PN}-EventHandler.patch
+ epatch ${FILESDIR}/${PN}-EventHandler.patch \
+ "${FILESDIR}/${P}"-gcc41.patch
+ sed -i -e "s:-Werror::" \
+ configure
}
src_compile() {