public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in games-strategy/boswars: boswars-2.5.ebuild ChangeLog
@ 2008-05-01  0:21 Tristan Heaven (nyhm)
  0 siblings, 0 replies; only message in thread
From: Tristan Heaven (nyhm) @ 2008-05-01  0:21 UTC (permalink / raw
  To: gentoo-commits

nyhm        08/05/01 00:21:34

  Modified:             boswars-2.5.ebuild ChangeLog
  Log:
  Fix building with gcc-4.3
  (Portage version: 2.1.5_rc6)

Revision  Changes    Path
1.2                  games-strategy/boswars/boswars-2.5.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/boswars/boswars-2.5.ebuild?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/boswars/boswars-2.5.ebuild?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/boswars/boswars-2.5.ebuild?r1=1.1&r2=1.2

Index: boswars-2.5.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/games-strategy/boswars/boswars-2.5.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- boswars-2.5.ebuild	2 Mar 2008 07:58:08 -0000	1.1
+++ boswars-2.5.ebuild	1 May 2008 00:21:34 -0000	1.2
@@ -1,6 +1,6 @@
 # Copyright 1999-2008 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/boswars/boswars-2.5.ebuild,v 1.1 2008/03/02 07:58:08 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/boswars/boswars-2.5.ebuild,v 1.2 2008/05/01 00:21:34 nyhm Exp $
 
 inherit eutils games
 
@@ -31,11 +31,17 @@
 	unpack ${A/bos.png}
 	cd "${S}"
 	rm -f doc/{README-SDL.txt,guichan-copyright.txt}
-	epatch "${FILESDIR}"/${P}-gentoo.patch
+	epatch \
+		"${FILESDIR}"/${P}-gentoo.patch \
+		"${FILESDIR}"/${P}-gcc43.patch
 	sed -i \
 		-e "s:@GENTOO_DATADIR@:${GAMES_DATADIR}/${PN}:" \
 		engine/include/stratagus.h \
-		|| die "sed failed"
+		|| die "sed stratagus.h failed"
+	sed -i \
+		-e "/-O2/s:-O2.*math:${CXXFLAGS} -Wall:" \
+		SConstruct \
+		|| die "sed SConstruct failed"
 }
 
 src_compile() {



1.8                  games-strategy/boswars/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/boswars/ChangeLog?rev=1.8&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/boswars/ChangeLog?rev=1.8&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/boswars/ChangeLog?r1=1.7&r2=1.8

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/games-strategy/boswars/ChangeLog,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- ChangeLog	2 Mar 2008 07:58:08 -0000	1.7
+++ ChangeLog	1 May 2008 00:21:34 -0000	1.8
@@ -1,6 +1,10 @@
 # ChangeLog for games-strategy/boswars
 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/boswars/ChangeLog,v 1.7 2008/03/02 07:58:08 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/boswars/ChangeLog,v 1.8 2008/05/01 00:21:34 nyhm Exp $
+
+  01 May 2008; Tristan Heaven <nyhm@gentoo.org>
+  +files/boswars-2.5-gcc43.patch, boswars-2.5.ebuild:
+  Fix building with gcc-4.3
 
 *boswars-2.5 (02 Mar 2008)
 



-- 
gentoo-commits@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-05-01  0:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-01  0:21 [gentoo-commits] gentoo-x86 commit in games-strategy/boswars: boswars-2.5.ebuild ChangeLog Tristan Heaven (nyhm)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox