diff options
author | Tristan Heaven <tristan@gentoo.org> | 2009-06-09 18:45:51 +0000 |
---|---|---|
committer | Tristan Heaven <tristan@gentoo.org> | 2009-06-09 18:45:51 +0000 |
commit | e0727fae675396ac872d5170ad1adb83e26dc44d (patch) | |
tree | 9275b590d87e04ad497d562c35574a0d21f73282 /games-sports/stormbaancoureur | |
parent | version bump, ported to EAPI 2 and played around with econf switches. This is... (diff) | |
download | historical-e0727fae675396ac872d5170ad1adb83e26dc44d.tar.gz historical-e0727fae675396ac872d5170ad1adb83e26dc44d.tar.bz2 historical-e0727fae675396ac872d5170ad1adb83e26dc44d.zip |
Fix building with gcc-4.4, bug #273369
Package-Manager: portage-2.2_rc33/cvs/Linux i686
Diffstat (limited to 'games-sports/stormbaancoureur')
4 files changed, 32 insertions, 8 deletions
diff --git a/games-sports/stormbaancoureur/ChangeLog b/games-sports/stormbaancoureur/ChangeLog index 15d260c903c3..59bc26d82771 100644 --- a/games-sports/stormbaancoureur/ChangeLog +++ b/games-sports/stormbaancoureur/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for games-sports/stormbaancoureur # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-sports/stormbaancoureur/ChangeLog,v 1.14 2009/03/09 16:00:21 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-sports/stormbaancoureur/ChangeLog,v 1.15 2009/06/09 18:45:51 nyhm Exp $ + + 09 Jun 2009; Tristan Heaven <nyhm@gentoo.org> + stormbaancoureur-2.1.5.ebuild, +files/stormbaancoureur-2.1.5-gcc44.patch: + Fix building with gcc-4.4, bug #273369 09 Mar 2009; Raúl Porcel <armin76@gentoo.org> stormbaancoureur-2.1.5.ebuild: diff --git a/games-sports/stormbaancoureur/Manifest b/games-sports/stormbaancoureur/Manifest index 6b04d3953b5c..c914bd5a2ca0 100644 --- a/games-sports/stormbaancoureur/Manifest +++ b/games-sports/stormbaancoureur/Manifest @@ -1,4 +1,15 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +AUX stormbaancoureur-2.1.5-gcc44.patch 209 RMD160 a23a77f743bdec1bd3de97e1f17093d96e9efc49 SHA1 53f4222a5a0d7c25d8ef135b41c9c6ac296df468 SHA256 030be23867793917dde1bebfe239882d5504ffb8353ada73f3a42e022e14dd51 DIST stormbaancoureur-2.1.5.tar.gz 3976376 RMD160 a01b07424a0dc30681de176e7325085f7b958d73 SHA1 3cbd1cb0879e143e5eb45699f133a5636a8eb0b7 SHA256 cd18ec1bf68db37cb5e77081fdc2863da4f921a69438a274a62e61ab42b94be0 -EBUILD stormbaancoureur-2.1.5.ebuild 1344 RMD160 28002e57aa20ba63934f656034bda2e42679e332 SHA1 ecebd8078d35dd88bfedcdd4fb1a0c8ea07d75e8 SHA256 abd4c80c38214ef933180a15c12df2565f9918becc576ca15c50926e6ee1eff8 -MISC ChangeLog 2293 RMD160 afc1da549c597bec7b557213a4acf79c39ac4930 SHA1 b132147be0d18db1ab182e94b2b767a0299767a3 SHA256 e44b4302a97f225c45f1089e385ee094c68ecdb1b222480434136d5c16ce7ce8 +EBUILD stormbaancoureur-2.1.5.ebuild 1363 RMD160 dc36bf85cdad6df4f3c6a83e1aa08b96dbc5d7ca SHA1 3558bf97893e530f902cedf7cb53f8e223e99488 SHA256 412cb5af24c551cf87b503afa2f2bf943681c1314e5e3c102b4d8c3c2eee823d +MISC ChangeLog 2456 RMD160 f81c930d5c29176c824e47dc2ec04ee579f60652 SHA1 a10de0c4dc2abfd7796b01b929fdf5d66c6c0767 SHA256 4993bc3dc59939240aa37f893a7b4847817880f8852e19af33329bfb20cb818a MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.11 (GNU/Linux) + +iEYEARECAAYFAkoureUACgkQdz7hIScOURFdsQCg47OrZIoouFcqMJCVFq9PczZT +YFgAoO8UjSQ9FpuvI5x4Jjee8l3zjK/X +=NbVV +-----END PGP SIGNATURE----- diff --git a/games-sports/stormbaancoureur/files/stormbaancoureur-2.1.5-gcc44.patch b/games-sports/stormbaancoureur/files/stormbaancoureur-2.1.5-gcc44.patch new file mode 100644 index 000000000000..8171c4663e3e --- /dev/null +++ b/games-sports/stormbaancoureur/files/stormbaancoureur-2.1.5-gcc44.patch @@ -0,0 +1,10 @@ +--- src-stormbaancoureur/controllerkey.cxx ++++ src-stormbaancoureur/controllerkey.cxx +@@ -9,6 +9,7 @@ + #include <math.h> + #include <errno.h> + #include <fcntl.h> ++#include <cstdio> + + #include "controller.h" + diff --git a/games-sports/stormbaancoureur/stormbaancoureur-2.1.5.ebuild b/games-sports/stormbaancoureur/stormbaancoureur-2.1.5.ebuild index d5eaef252f18..0260e3d0fa3a 100644 --- a/games-sports/stormbaancoureur/stormbaancoureur-2.1.5.ebuild +++ b/games-sports/stormbaancoureur/stormbaancoureur-2.1.5.ebuild @@ -1,7 +1,8 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-sports/stormbaancoureur/stormbaancoureur-2.1.5.ebuild,v 1.2 2009/03/09 16:00:21 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-sports/stormbaancoureur/stormbaancoureur-2.1.5.ebuild,v 1.3 2009/06/09 18:45:51 nyhm Exp $ +EAPI=2 inherit eutils toolchain-funcs games DESCRIPTION="Simulated obstacle course for automobiles" @@ -22,10 +23,7 @@ DEPEND="virtual/opengl S=${WORKDIR}/${P}/src-${PN} -src_unpack() { - unpack ${A} - cd "${S}" - +src_prepare() { sed -i \ -e "/dirprefix \?=\"/s:=.*: = \"${GAMES_DATADIR}/${PN}\";:" main.cxx \ || die "sed failed" @@ -38,6 +36,7 @@ src_unpack() { -e '/^LFLAGS=/s:=:= $(LDFLAGS) :' \ -e 's:$(ODEPREFIX)/$(LIBDIRNAME)/libode.a:-lode:' \ Makefile || die "sed failed" + epatch "${FILESDIR}"/${P}-gcc44.patch } src_install() { |