diff options
author | Julian Ospald <hasufell@gentoo.org> | 2012-07-15 07:37:43 +0000 |
---|---|---|
committer | Julian Ospald <hasufell@gentoo.org> | 2012-07-15 07:37:43 +0000 |
commit | b5baef61eb638ad2d520178b043b9c993b5b526b (patch) | |
tree | ff57e7365b509c5cebace786b63f7a6842b8e6b0 /games-sports/ultimatestunts | |
parent | version bump wrt bug #426648 (diff) | |
download | gentoo-2-b5baef61eb638ad2d520178b043b9c993b5b526b.tar.gz gentoo-2-b5baef61eb638ad2d520178b043b9c993b5b526b.tar.bz2 gentoo-2-b5baef61eb638ad2d520178b043b9c993b5b526b.zip |
fix compilation on gcc-4.7 wrt bug #426612
(Portage version: 2.2.0_alpha118/cvs/Linux x86_64)
Diffstat (limited to 'games-sports/ultimatestunts')
-rw-r--r-- | games-sports/ultimatestunts/ChangeLog | 8 | ||||
-rw-r--r-- | games-sports/ultimatestunts/files/ultimatestunts-0.7.6-gcc-4.7.patch | 16 | ||||
-rw-r--r-- | games-sports/ultimatestunts/ultimatestunts-0.7.6.ebuild | 7 |
3 files changed, 26 insertions, 5 deletions
diff --git a/games-sports/ultimatestunts/ChangeLog b/games-sports/ultimatestunts/ChangeLog index 210776f258cb..7d251f2f29d9 100644 --- a/games-sports/ultimatestunts/ChangeLog +++ b/games-sports/ultimatestunts/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for games-sports/ultimatestunts -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-sports/ultimatestunts/ChangeLog,v 1.25 2011/04/11 03:02:38 tomka Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-sports/ultimatestunts/ChangeLog,v 1.26 2012/07/15 07:37:42 hasufell Exp $ + + 15 Jul 2012; Julian Ospald <hasufell@gentoo.org> ultimatestunts-0.7.6.ebuild, + +files/ultimatestunts-0.7.6-gcc-4.7.patch: + fix compilation on gcc-4.7 wrt bug #426612 11 Apr 2011; Thomas Kahle <tomka@gentoo.org> ultimatestunts-0.7.6.ebuild: x86 stable per bug 360723 diff --git a/games-sports/ultimatestunts/files/ultimatestunts-0.7.6-gcc-4.7.patch b/games-sports/ultimatestunts/files/ultimatestunts-0.7.6-gcc-4.7.patch new file mode 100644 index 000000000000..0ce375c1a86c --- /dev/null +++ b/games-sports/ultimatestunts/files/ultimatestunts-0.7.6-gcc-4.7.patch @@ -0,0 +1,16 @@ +From: Julian Ospald <hasufell@gentoo.org> +Date: Sat Jul 14 20:55:35 UTC 2012 +Subject: fix compilation on gcc-4.7 + +https://bugs.gentoo.org/show_bug.cgi?id=426612 + +--- simulation/metaserver.cpp ++++ simulation/metaserver.cpp +@@ -16,6 +16,7 @@ + ***************************************************************************/ + #include <cstdio> + #include <cstdlib> ++#include <unistd.h> + #include <sys/types.h> + #include <sys/socket.h> + #include <netinet/in.h> diff --git a/games-sports/ultimatestunts/ultimatestunts-0.7.6.ebuild b/games-sports/ultimatestunts/ultimatestunts-0.7.6.ebuild index 92870c5ebcf7..3ee398b0154a 100644 --- a/games-sports/ultimatestunts/ultimatestunts-0.7.6.ebuild +++ b/games-sports/ultimatestunts/ultimatestunts-0.7.6.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2011 Gentoo Foundation +# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-sports/ultimatestunts/ultimatestunts-0.7.6.ebuild,v 1.2 2011/04/11 03:02:38 tomka Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-sports/ultimatestunts/ultimatestunts-0.7.6.ebuild,v 1.3 2012/07/15 07:37:42 hasufell Exp $ EAPI=2 inherit autotools eutils versionator games @@ -30,7 +30,8 @@ S=${WORKDIR}/${MY_P} src_prepare() { ecvs_clean - epatch "${FILESDIR}"/${P}-paths.patch + epatch "${FILESDIR}"/${P}-paths.patch \ + "${FILESDIR}"/${P}-gcc-4.7.patch autopoint -f || die "autopoint failed" AT_M4DIR=m4 eautoreconf } |