summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Alfredsen <loki_val@gentoo.org>2008-07-20 20:49:15 +0000
committerPeter Alfredsen <loki_val@gentoo.org>2008-07-20 20:49:15 +0000
commitaa18686cdd8264bc2196f6dc0d928931e4285ac0 (patch)
treec182771d13a3c47bc1b8ba2891e2e10d3c16c2b0 /games-board/pouetchess
parentMarked ~hppa too. (diff)
downloadhistorical-aa18686cdd8264bc2196f6dc0d928931e4285ac0.tar.gz
historical-aa18686cdd8264bc2196f6dc0d928931e4285ac0.tar.bz2
historical-aa18686cdd8264bc2196f6dc0d928931e4285ac0.zip
Fix for gcc-4.3, bug 226663. Thanks to Marek Miller <mlm@shells.pl>.
Package-Manager: portage-2.2_rc1/cvs/Linux 2.6.25.8 i686
Diffstat (limited to 'games-board/pouetchess')
-rw-r--r--games-board/pouetchess/ChangeLog6
-rw-r--r--games-board/pouetchess/Manifest5
-rw-r--r--games-board/pouetchess/files/pouetchess-0.2.0-gcc43.patch12
-rw-r--r--games-board/pouetchess/pouetchess-0.2.0-r1.ebuild16
4 files changed, 28 insertions, 11 deletions
diff --git a/games-board/pouetchess/ChangeLog b/games-board/pouetchess/ChangeLog
index da60044401aa..82018337cc14 100644
--- a/games-board/pouetchess/ChangeLog
+++ b/games-board/pouetchess/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-board/pouetchess
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/pouetchess/ChangeLog,v 1.10 2008/07/17 21:52:15 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-board/pouetchess/ChangeLog,v 1.11 2008/07/20 20:49:15 loki_val Exp $
+
+ 20 Jul 2008; Peter Alfredsen <loki_val@gentoo.org>
+ +files/pouetchess-0.2.0-gcc43.patch, pouetchess-0.2.0-r1.ebuild:
+ Fix for gcc-4.3, bug 226663. Thanks to Marek Miller <mlm@shells.pl>.
17 Jul 2008; Michael Sterrett <mr_bones_@gentoo.org>
pouetchess-0.2.0-r1.ebuild:
diff --git a/games-board/pouetchess/Manifest b/games-board/pouetchess/Manifest
index d80947bc2576..55560aad49c4 100644
--- a/games-board/pouetchess/Manifest
+++ b/games-board/pouetchess/Manifest
@@ -1,7 +1,8 @@
+AUX pouetchess-0.2.0-gcc43.patch 309 RMD160 7db33dfa3a61c0fdacea9763b0d02061f7a197ef SHA1 2ca6cab683d7f36ac7848b0b9f0bf74123f484df SHA256 61fb67a699c11c36df6a178a997d3b678c62dfea16b2bd6c975166174aed3a12
AUX pouetchess-0.2.0-nvidia_glext.patch 373 RMD160 34d53944251ea3b6363ba0a4a4a5cd7a831ffe93 SHA1 f3cb0e05c6fa782193408df5250ff4c225433e5b SHA256 d0466dee4b11efab347409e7e83fffac5ea9c6b1350b660c01b20a0107564a4b
AUX pouetchess-0.2.0-sconstruct-sandbox.patch 754 RMD160 cd2b425d782fa1da12bd6a68c77f54d8b577c16b SHA1 ffbbf33d85f427cd04a7f57f4ec5e17d114ef3fb SHA256 0d0c7471bc5de6157f5d8c44dde061dbbf9215fc6b00bd4be590d41dabbdd70a
AUX pouetchess-0.2.0-segfaults.patch 1195 RMD160 698eeb1561ec984fafa2ec398a467151b5a74642 SHA1 5d79a39c2b8a98c619f3f285d321cab5bc4b4796 SHA256 a0796702fdc434a337afa7579d8fee7076bfab06eb99171b6802ecf85a0ae4c2
DIST pouetchess_src_0.2.0.tar.gz 1055338 RMD160 29611b78ef75b3707ad98752055da775335c0490 SHA1 023bea8043b5dcf8a134531b920497c7efb89adb SHA256 fe966ff1b0aa2dd6d0ca2b62692f5b788e3a286050a6a374e58ca0612f68b2ef
-EBUILD pouetchess-0.2.0-r1.ebuild 1837 RMD160 95380957f538d54fa3319fa05682862d461548d8 SHA1 ea6a11d15836aecc9e32c4c67b12908e0ac97393 SHA256 6d7c177d6332ff069924475f7ee8e4d7b8d8356a8c785a469b7c5dde670dfb30
-MISC ChangeLog 1979 RMD160 d366aea7738c70cd83c21fee393036be0bf121e3 SHA1 272a15a6fcaf15a34dad6428a663ed1d0ef9c845 SHA256 926957c3410d362038666cb3d4aa511b8b26beb5d6287b17db1a94ebdd8ba63b
+EBUILD pouetchess-0.2.0-r1.ebuild 1874 RMD160 45c7eb97622bc0c6ff6308e3d298eab24322bd30 SHA1 96e875efdf2f075cf60f1867bbd28d5393f304fc SHA256 56537ac07407dc20ab6bba2d6cdda59f728d65ab34d42651820918184067b029
+MISC ChangeLog 2170 RMD160 e63150c4c2022dbe7a7e2f2d2ff5ff326a285ad7 SHA1 e62ace1bec23d0bca872d8d9168e65f431820271 SHA256 10aeeb8f962de2c3a1e7a2e2b6fd3f3f0b0459aade7a58dc12ef24b41009a6e1
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
diff --git a/games-board/pouetchess/files/pouetchess-0.2.0-gcc43.patch b/games-board/pouetchess/files/pouetchess-0.2.0-gcc43.patch
new file mode 100644
index 000000000000..0a60c2117da8
--- /dev/null
+++ b/games-board/pouetchess/files/pouetchess-0.2.0-gcc43.patch
@@ -0,0 +1,12 @@
+--- src/sxmlgui/XMLUtils.h.orig 2008-06-14 14:50:16.000000000 +0000
++++ src/sxmlgui/XMLUtils.h 2008-06-14 14:50:33.000000000 +0000
+@@ -38,6 +38,8 @@
+ #include <stdio.h>
+ #include <assert.h>
+ #include <fstream>
++#include <cstring>
++
+
+ // Help out windows:
+ #if defined( _DEBUG ) && !defined( DEBUG )
+
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]:" \