summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schweizer <genstef@gentoo.org>2006-04-02 08:51:54 +0000
committerStefan Schweizer <genstef@gentoo.org>2006-04-02 08:51:54 +0000
commitc2dcb231af5e8990917b8be9afc375bd08cfa132 (patch)
tree2be3f976eba8df2e09a53e939f1e676f97b91e26 /games-action
parentremove obsolete ghostview, use gv now (diff)
downloadgentoo-2-c2dcb231af5e8990917b8be9afc375bd08cfa132.tar.gz
gentoo-2-c2dcb231af5e8990917b8be9afc375bd08cfa132.tar.bz2
gentoo-2-c2dcb231af5e8990917b8be9afc375bd08cfa132.zip
Fix building with gcc4 thanks to Joshua Baergen <joshuabaergen@gentoo.org> in bug 120751
(Portage version: 2.1_pre7-r2)
Diffstat (limited to 'games-action')
-rw-r--r--games-action/xbomber/ChangeLog7
-rw-r--r--games-action/xbomber/files/xbomber-101-gcc4.patch11
-rw-r--r--games-action/xbomber/xbomber-101.ebuild3
3 files changed, 19 insertions, 2 deletions
diff --git a/games-action/xbomber/ChangeLog b/games-action/xbomber/ChangeLog
index f9290b5f32ba..ec982c71a448 100644
--- a/games-action/xbomber/ChangeLog
+++ b/games-action/xbomber/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-action/xbomber
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/xbomber/ChangeLog,v 1.8 2006/01/28 21:19:10 joshuabaergen Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-action/xbomber/ChangeLog,v 1.9 2006/04/02 08:51:54 genstef Exp $
+
+ 02 Apr 2006; Stefan Schweizer <genstef@gentoo.org>
+ +files/xbomber-101-gcc4.patch, xbomber-101.ebuild:
+ Fix building with gcc4 thanks to Joshua Baergen <joshuabaergen@gentoo.org>
+ in bug 120751
28 Jan 2006; Joshua Baergen <joshuabaergen@gentoo.org> xbomber-101.ebuild:
Add modular X dependencies.
diff --git a/games-action/xbomber/files/xbomber-101-gcc4.patch b/games-action/xbomber/files/xbomber-101-gcc4.patch
new file mode 100644
index 000000000000..8a5a063c6145
--- /dev/null
+++ b/games-action/xbomber/files/xbomber-101-gcc4.patch
@@ -0,0 +1,11 @@
+--- bomber.c.old 2006-01-28 12:06:34.000000000 -0700
++++ bomber.c 2006-01-28 12:06:46.000000000 -0700
+@@ -1699,7 +1699,7 @@
+ }
+ void addtail(void *header,void *entry)
+ {
+- while(((list *)header)->next) ((list *)header)=((list *)header)->next;
++ while(((list *)header)->next) header=((list *)header)->next;
+ ((list *)header)->next=entry;
+ ((list *)entry)->next=0;
+ }
diff --git a/games-action/xbomber/xbomber-101.ebuild b/games-action/xbomber/xbomber-101.ebuild
index feac253f43c7..9cdb70ec89d3 100644
--- a/games-action/xbomber/xbomber-101.ebuild
+++ b/games-action/xbomber/xbomber-101.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/xbomber/xbomber-101.ebuild,v 1.10 2006/01/28 21:19:10 joshuabaergen Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-action/xbomber/xbomber-101.ebuild,v 1.11 2006/04/02 08:51:54 genstef Exp $
inherit eutils games
@@ -28,6 +28,7 @@ src_unpack() {
-e "s:=\"data\":=\"${GAMES_DATADIR}/${PN}\":" sound.c \
|| die "sed failed"
epatch "${FILESDIR}"/${P}-va_list.patch
+ epatch "${FILESDIR}"/${P}-gcc4.patch
}
src_compile() {