summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2007-08-24 18:18:48 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2007-08-24 18:18:48 +0000
commit1e5ada2827072d6c986baecb05783e71674c7e9e (patch)
tree2727cf865f574a0b5275f54432e5b171f4c61371 /games-sports/ultimatestunts
parentalpha/ia64 stable wrt #189359 (diff)
downloadgentoo-2-1e5ada2827072d6c986baecb05783e71674c7e9e.tar.gz
gentoo-2-1e5ada2827072d6c986baecb05783e71674c7e9e.tar.bz2
gentoo-2-1e5ada2827072d6c986baecb05783e71674c7e9e.zip
Added a patch to fix compilation on amd64. Thanks to Bernd Steinhauser <bernd.steinhauser@gmx.net> for pointing it out. Closing bug #188234.
(Portage version: 2.1.3.6)
Diffstat (limited to 'games-sports/ultimatestunts')
-rw-r--r--games-sports/ultimatestunts/ChangeLog7
-rw-r--r--games-sports/ultimatestunts/files/ultimatestunts-0.7.2-amd64.patch11
-rw-r--r--games-sports/ultimatestunts/ultimatestunts-0.7.2.ebuild3
3 files changed, 19 insertions, 2 deletions
diff --git a/games-sports/ultimatestunts/ChangeLog b/games-sports/ultimatestunts/ChangeLog
index 82454b58d7e3..2b90202a19f9 100644
--- a/games-sports/ultimatestunts/ChangeLog
+++ b/games-sports/ultimatestunts/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-sports/ultimatestunts
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-sports/ultimatestunts/ChangeLog,v 1.15 2007/08/09 07:33:19 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-sports/ultimatestunts/ChangeLog,v 1.16 2007/08/24 18:18:48 wolf31o2 Exp $
+
+ 24 Aug 2007; Chris Gianelloni <wolf31o2@gentoo.org>
+ +files/ultimatestunts-0.7.2-amd64.patch, ultimatestunts-0.7.2.ebuild:
+ Added a patch to fix compilation on amd64. Thanks to Bernd Steinhauser
+ <bernd.steinhauser@gmx.net> for pointing it out. Closing bug #188234.
*ultimatestunts-0.7.2 (09 Aug 2007)
diff --git a/games-sports/ultimatestunts/files/ultimatestunts-0.7.2-amd64.patch b/games-sports/ultimatestunts/files/ultimatestunts-0.7.2-amd64.patch
new file mode 100644
index 000000000000..f70400404e8e
--- /dev/null
+++ b/games-sports/ultimatestunts/files/ultimatestunts-0.7.2-amd64.patch
@@ -0,0 +1,11 @@
+--- simulation/metaserver.cpp.old 2007-08-09 15:50:01.000000000 +0200
++++ simulation/metaserver.cpp 2007-08-09 15:50:52.000000000 +0200
+@@ -192,7 +192,7 @@
+ "Connection: close\r\n"
+ "User-Agent: " + PACKAGE + "/" + VERSION + "\r\n"
+ "Content-Type: application/x-www-form-urlencoded\r\n"
+- "Content-Length: " + data.length() + "\r\n"
++ "Content-Length: " + (unsigned int)data.length() + "\r\n"
+ "\r\n"
+ + data + "\r\n";
+
diff --git a/games-sports/ultimatestunts/ultimatestunts-0.7.2.ebuild b/games-sports/ultimatestunts/ultimatestunts-0.7.2.ebuild
index 9cca5db0c63c..e138d2d9ff80 100644
--- a/games-sports/ultimatestunts/ultimatestunts-0.7.2.ebuild
+++ b/games-sports/ultimatestunts/ultimatestunts-0.7.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-sports/ultimatestunts/ultimatestunts-0.7.2.ebuild,v 1.1 2007/08/09 07:33:19 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-sports/ultimatestunts/ultimatestunts-0.7.2.ebuild,v 1.2 2007/08/24 18:18:48 wolf31o2 Exp $
inherit autotools eutils versionator games
@@ -41,6 +41,7 @@ src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${P}-paths.patch
+ epatch "${FILESDIR}"/${P}-amd64.patch
autopoint -f || die "autopoint failed"
sed -i 's:$(datadir)/locale:@top_srcdir@/data/lang:' po/Makefile.in.in \
|| die "sed failed"