summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2012-06-12 18:15:12 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2012-06-12 18:15:12 +0000
commitadcc529bff236aa912e0ca556324ff9c64f5c468 (patch)
tree79aa1e3411e4610c75b1d275fcd43e89dfdc4d33 /games-sports
parentFix zheet use flag description in metadata (diff)
downloadhistorical-adcc529bff236aa912e0ca556324ff9c64f5c468.tar.gz
historical-adcc529bff236aa912e0ca556324ff9c64f5c468.tar.bz2
historical-adcc529bff236aa912e0ca556324ff9c64f5c468.zip
Add patch to build with gcc47 submitted by Philipp Middendorf via bug #420799
Package-Manager: portage-2.1.10.49/cvs/Linux x86_64
Diffstat (limited to 'games-sports')
-rw-r--r--games-sports/xmoto/ChangeLog6
-rw-r--r--games-sports/xmoto/Manifest5
-rw-r--r--games-sports/xmoto/files/xmoto-0.5.9-gcc47.patch10
-rw-r--r--games-sports/xmoto/xmoto-0.5.9.ebuild5
4 files changed, 21 insertions, 5 deletions
diff --git a/games-sports/xmoto/ChangeLog b/games-sports/xmoto/ChangeLog
index 1744f717c7a4..86f8cedc4360 100644
--- a/games-sports/xmoto/ChangeLog
+++ b/games-sports/xmoto/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-sports/xmoto
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-sports/xmoto/ChangeLog,v 1.63 2012/05/17 06:20:02 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-sports/xmoto/ChangeLog,v 1.64 2012/06/12 18:15:12 mr_bones_ Exp $
+
+ 12 Jun 2012; Michael Sterrett <mr_bones_@gentoo.org> xmoto-0.5.9.ebuild,
+ +files/xmoto-0.5.9-gcc47.patch:
+ Add patch to build with gcc47 submitted by Philipp Middendorf via bug #420799
17 May 2012; Michael Sterrett <mr_bones_@gentoo.org>
-files/0.5.7-libpng.patch, -xmoto-0.5.4.ebuild, -xmoto-0.5.7.ebuild,
diff --git a/games-sports/xmoto/Manifest b/games-sports/xmoto/Manifest
index 556b3a1d776b..f5e1c5b312f9 100644
--- a/games-sports/xmoto/Manifest
+++ b/games-sports/xmoto/Manifest
@@ -1,7 +1,8 @@
+AUX xmoto-0.5.9-gcc47.patch 367 RMD160 3b37d81a0bcbd0e32ea08e4721084db033f9fdd2 SHA1 9be78e5dba4569bd122e0569a79776d93288730d SHA256 d0dc02b512b78c1d69ce51ccf528d467da9f36eaab1f89e20605c3a175607c94
AUX xmoto-0.5.9-libpng.patch 343 RMD160 e5aa739a1b64e207b0696dd9f1a829f6c3f8057d SHA1 5025f379ae672cc5d1ebd47d4565972c1e3998e8 SHA256 fdbbc0aacd03d4bca84d4c85da706cff81350a5f33b793a31c44c5993a76196b
AUX xmoto-0.5.9-utf8.patch 425 RMD160 dfbb9fca9754bf9e971cbf26cdf88a1d388d9e96 SHA1 15c43a0b798d742d0de9cdbdffa068ecd081082f SHA256 3cda1d96a450159cc0f7cfabb33da47d977b62428bdd8aadff9f5e1b4d1aaadc
DIST inksmoto-0.7.0.tar.gz 2628941 RMD160 af6eb2c6698bae394c5a7a664d8d61920a4a9391 SHA1 ab47beb5f41706d355ddab6a7365cc24706fb893 SHA256 60bd1369d4c347e127886a5813af13daf39b56ce818c9f8b2fc7d4bba0af7e11
DIST xmoto-0.5.9-src.tar.gz 40385328 RMD160 34fdbd3e7b26c678eb4c0e5a477b45de02167786 SHA1 07757accce78151dc8873bef8270df0e56196772 SHA256 74d7574476ad321c43db6c0df6d378954068e2514e3f4acae1cc322df8a033e4
-EBUILD xmoto-0.5.9.ebuild 2548 RMD160 3de8be1a8ae6349928086baa86c56e6818a98142 SHA1 20051b073e9f2af6220305a1159b262b44633cd0 SHA256 bd3a37d745d93aa827bcc5742a87af050c14d524f8c686c8837020a60a8f2a67
-MISC ChangeLog 8623 RMD160 b77b2f6b26df471c709aa2d51680dde92646bd0a SHA1 63906badb3f2990144d5a376f413135e78f8e416 SHA256 a7f5ccdf1a4dc44044e29daac39e5ec1fb7b67af0bebf8263b603aa0bce50922
+EBUILD xmoto-0.5.9.ebuild 2586 RMD160 9541f5468de9c6b142166d2bf47e46cb61b261df SHA1 efbb03fb6e0eaf95d43d489e3205e76ceb091da6 SHA256 97d3e21bfdbb93dc5e6bcf818f06bf2148c624c393cf57918e840e4d56e16170
+MISC ChangeLog 8813 RMD160 6ab5c9383e69ed46bfc62f2bd133abe0188a5143 SHA1 f481300456e171048c3c51930285acd001e27227 SHA256 90917a627796e90f6fb97c74ed341e5cb840eef41401683c245349fb63080332
MISC metadata.xml 270 RMD160 c447b9b1cea1f49ca7c00bab1f8aa6cdeb395afb SHA1 d0119628b902f2d7d0c56e532122df260eede5bf SHA256 43229adb28ae299ec42c09c8e7dc0f10eceba4af19d5094741471070094f5c57
diff --git a/games-sports/xmoto/files/xmoto-0.5.9-gcc47.patch b/games-sports/xmoto/files/xmoto-0.5.9-gcc47.patch
new file mode 100644
index 000000000000..eb0843ef35ba
--- /dev/null
+++ b/games-sports/xmoto/files/xmoto-0.5.9-gcc47.patch
@@ -0,0 +1,10 @@
+--- src/helpers/System.cpp.old 2012-06-12 11:01:24.332083600 +0200
++++ src/helpers/System.cpp 2012-06-12 11:01:35.335083715 +0200
+@@ -24,6 +24,7 @@
+ #include "Log.h"
+ #include "VExcept.h"
+ #include <sstream>
++#include <unistd.h>
+
+ std::vector<std::string>* System::getDisplayModes(int windowed) {
+ std::vector<std::string>* modes = new std::vector<std::string>;
diff --git a/games-sports/xmoto/xmoto-0.5.9.ebuild b/games-sports/xmoto/xmoto-0.5.9.ebuild
index 2403eb324f29..9cd22101d7ba 100644
--- a/games-sports/xmoto/xmoto-0.5.9.ebuild
+++ b/games-sports/xmoto/xmoto-0.5.9.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-sports/xmoto/xmoto-0.5.9.ebuild,v 1.4 2012/04/22 14:42:39 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-sports/xmoto/xmoto-0.5.9.ebuild,v 1.5 2012/06/12 18:15:12 mr_bones_ Exp $
EAPI=2
inherit eutils flag-o-matic games
@@ -48,7 +48,8 @@ src_prepare() {
epatch \
"${FILESDIR}"/${P}-libpng.patch \
- "${FILESDIR}"/${P}-utf8.patch
+ "${FILESDIR}"/${P}-utf8.patch \
+ "${FILESDIR}"/${P}-gcc47.patch
}
src_configure() {