diff options
author | Peter Alfredsen <loki_val@gentoo.org> | 2008-07-20 20:49:15 +0000 |
---|---|---|
committer | Peter Alfredsen <loki_val@gentoo.org> | 2008-07-20 20:49:15 +0000 |
commit | 3c5c5a3ce6aaa7fd554cae2b174102ef24207170 (patch) | |
tree | fee894f81fb1819ac326c2c5500cd2d8734bfabe /games-board/pouetchess/pouetchess-0.2.0-r1.ebuild | |
parent | Marked ~hppa too. (diff) | |
download | gentoo-2-3c5c5a3ce6aaa7fd554cae2b174102ef24207170.tar.gz gentoo-2-3c5c5a3ce6aaa7fd554cae2b174102ef24207170.tar.bz2 gentoo-2-3c5c5a3ce6aaa7fd554cae2b174102ef24207170.zip |
Fix for gcc-4.3, bug 226663. Thanks to Marek Miller <mlm@shells.pl>.
(Portage version: 2.2_rc1/cvs/Linux 2.6.25.8 i686)
Diffstat (limited to 'games-board/pouetchess/pouetchess-0.2.0-r1.ebuild')
-rw-r--r-- | games-board/pouetchess/pouetchess-0.2.0-r1.ebuild | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/games-board/pouetchess/pouetchess-0.2.0-r1.ebuild b/games-board/pouetchess/pouetchess-0.2.0-r1.ebuild index 8099de04cb65..038048ef524d 100644 --- a/games-board/pouetchess/pouetchess-0.2.0-r1.ebuild +++ b/games-board/pouetchess/pouetchess-0.2.0-r1.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-board/pouetchess/pouetchess-0.2.0-r1.ebuild,v 1.5 2008/07/17 23:03:35 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-board/pouetchess/pouetchess-0.2.0-r1.ebuild,v 1.6 2008/07/20 20:49:15 loki_val Exp $ -inherit eutils toolchain-funcs games +inherit base eutils toolchain-funcs games MY_PN=${PN/c/C} DESCRIPTION="3D and open source chess game" @@ -22,6 +22,10 @@ DEPEND="${RDEPEND} dev-util/scons" S=${WORKDIR}/${PN}_src_${PV} +PATCHES=( "${FILESDIR}/${P}-sconstruct-sandbox.patch" + "${FILESDIR}/${P}-nvidia_glext.patch" + "${FILESDIR}/${P}-segfaults.patch" + "${FILESDIR}/${P}-gcc43.patch" ) pkg_setup() { games_pkg_setup @@ -33,13 +37,9 @@ pkg_setup() { } src_unpack() { - unpack ${A} - cd "${S}" - epatch \ - "${FILESDIR}"/${P}-sconstruct-sandbox.patch \ - "${FILESDIR}"/${P}-nvidia_glext.patch \ - "${FILESDIR}"/${P}-segfaults.patch + base_src_unpack + cd "${S}" # Fix for LibSDL >= 1.2.10 detection sed -i \ -e "s:sdlver.split('.') >= \['1','2','8'\]:sdlver.split('.') >= [1,2,8]:" \ |