summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <tristan@gentoo.org>2008-04-30 22:07:30 +0000
committerTristan Heaven <tristan@gentoo.org>2008-04-30 22:07:30 +0000
commit1f4ce9202e8fb367aa75ba9d458cecd8bac19b7c (patch)
tree8658b534339198dc6c2718a2578c0ae34d85c74e /games-arcade
parentFix building with gcc-4.3 (diff)
downloadhistorical-1f4ce9202e8fb367aa75ba9d458cecd8bac19b7c.tar.gz
historical-1f4ce9202e8fb367aa75ba9d458cecd8bac19b7c.tar.bz2
historical-1f4ce9202e8fb367aa75ba9d458cecd8bac19b7c.zip
Fix building with gcc-4.3
Package-Manager: portage-2.1.5_rc6
Diffstat (limited to 'games-arcade')
-rw-r--r--games-arcade/sdb/ChangeLog8
-rw-r--r--games-arcade/sdb/Manifest15
-rw-r--r--games-arcade/sdb/files/sdb-1.0.2-gcc43.patch10
-rw-r--r--games-arcade/sdb/sdb-1.0.2.ebuild8
4 files changed, 34 insertions, 7 deletions
diff --git a/games-arcade/sdb/ChangeLog b/games-arcade/sdb/ChangeLog
index cc7ef112ab7a..8b5a36b7f4ad 100644
--- a/games-arcade/sdb/ChangeLog
+++ b/games-arcade/sdb/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-arcade/sdb
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/sdb/ChangeLog,v 1.5 2007/02/24 08:05:46 nyhm Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/sdb/ChangeLog,v 1.6 2008/04/30 22:07:30 nyhm Exp $
+
+ 30 Apr 2008; Tristan Heaven <nyhm@gentoo.org>
+ +files/sdb-1.0.2-gcc43.patch, sdb-1.0.2.ebuild:
+ Fix building with gcc-4.3
24 Feb 2007; Tristan Heaven <nyhm@gentoo.org> sdb-1.0.2.ebuild:
Install menu entry, bug #160247
diff --git a/games-arcade/sdb/Manifest b/games-arcade/sdb/Manifest
index 8dc3f71e5468..e4bf50d7e8b8 100644
--- a/games-arcade/sdb/Manifest
+++ b/games-arcade/sdb/Manifest
@@ -1,5 +1,16 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX sdb-1.0.2-endian.patch 9118 RMD160 0292aeef7f92612184cc15d4bc917da36cc5510f SHA1 2ab58b6496a861e3c089afb30ad13b9eb031452c SHA256 624e039f33ca6be2e63edddcdbe6411d260918b75a79736cef6dc04a83f7e0db
+AUX sdb-1.0.2-gcc43.patch 169 RMD160 099c6dc58dc45d598bb798bc0df4a6423b56d98c SHA1 b626067116d22dfd4374d1d3248aec0efa514f98 SHA256 4e8c1fc81abb421917845bcf6a7104de295c8af240abc56b262d89fa0f83047e
DIST sdb-1.0.2.tar.gz 10342311 RMD160 df8ab1c15e2b2cfce99b102dc31e0b23acf4e782 SHA1 7458852ad641829457ce680c4dbfba9ee7f92da8 SHA256 f50d641413324448d102d3a6e8c3c340a310e5f8a5656b2cb86036a449b46534
-EBUILD sdb-1.0.2.ebuild 1311 RMD160 12232c92885a34819073a78045f72921b1ba9b05 SHA1 b97558dbfab6c30421a0546ebcc41c0bd21bd4f4 SHA256 c84c9bdbd11b997747b3fad00a0d4baa8af833e6afbc060f7a12cc9603658bda
-MISC ChangeLog 735 RMD160 2929beacb309807ddaced470f87385c84a830d65 SHA1 368c22232ded5bab02f044648dc70988ac7acbd9 SHA256 47722ef8eb8e41d6202abf854e5e8f8122a115fdfd255d8b07f3906173614992
+EBUILD sdb-1.0.2.ebuild 1350 RMD160 2159b15945835a1b8c1b158a660e97af58f4017b SHA1 eeb366f52e4f5985c4277ff36d575fee78f0e373 SHA256 bd86877f73f7fb67a56c7156de3fd8f146414256c17c99e1752045e68d1ed6d4
+MISC ChangeLog 862 RMD160 16ff531ad620fa65f2514d8b169aa553687bb4ac SHA1 8a29e223e4b9b7640f9b61c2544487c0aebc7446 SHA256 6e2b685a4e78624330155bd26d38389ee41d3020b91d89949f56be9ddacba223
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.9 (GNU/Linux)
+
+iEYEARECAAYFAkgY7agACgkQdz7hIScOURE/VgCggbGE1rywy0FEyREuiRoyrtWf
+uzcAoJc+YtDpZo0vO0OtW5WNwcZymHNL
+=XdKB
+-----END PGP SIGNATURE-----
diff --git a/games-arcade/sdb/files/sdb-1.0.2-gcc43.patch b/games-arcade/sdb/files/sdb-1.0.2-gcc43.patch
new file mode 100644
index 000000000000..db32209339ad
--- /dev/null
+++ b/games-arcade/sdb/files/sdb-1.0.2-gcc43.patch
@@ -0,0 +1,10 @@
+--- src/sdb.h
++++ src/sdb.h
+@@ -35,6 +35,7 @@
+ #include <vector>
+ #include <fstream>
+ #include <iostream>
++#include <climits>
+
+ #ifndef __APPLE__
+ #include <SDL/SDL.h>
diff --git a/games-arcade/sdb/sdb-1.0.2.ebuild b/games-arcade/sdb/sdb-1.0.2.ebuild
index ed06ee3214a7..00f57dcba44c 100644
--- a/games-arcade/sdb/sdb-1.0.2.ebuild
+++ b/games-arcade/sdb/sdb-1.0.2.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/sdb/sdb-1.0.2.ebuild,v 1.6 2007/02/24 08:05:46 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/sdb/sdb-1.0.2.ebuild,v 1.7 2008/04/30 22:07:30 nyhm Exp $
inherit eutils games
@@ -27,7 +27,9 @@ src_unpack() {
-e "s:sprites/:${GAMES_DATADIR}/${PN}/sprites/:" \
-e "s:levels/:${GAMES_DATADIR}/${PN}/levels/:" \
src/sdb.h src/game.cpp || die "setting game paths"
- epatch "${FILESDIR}"/${P}-endian.patch
+ epatch \
+ "${FILESDIR}"/${P}-endian.patch \
+ "${FILESDIR}"/${P}-gcc43.patch
}
src_compile() {