diff options
author | Tristan Heaven <nyhm@gentoo.org> | 2008-05-02 19:44:35 +0000 |
---|---|---|
committer | Tristan Heaven <nyhm@gentoo.org> | 2008-05-02 19:44:35 +0000 |
commit | 56df4ab8292cd9fdf900915fa06d5ec1c7dc14d5 (patch) | |
tree | 1d6e6ace83fbf0ce41e4f62a582fc100c6842727 /games-puzzle | |
parent | Cleanup, set TNS_ADMIN and add information on where to put tnsnames.ora, #215100 (diff) | |
download | gentoo-2-56df4ab8292cd9fdf900915fa06d5ec1c7dc14d5.tar.gz gentoo-2-56df4ab8292cd9fdf900915fa06d5ec1c7dc14d5.tar.bz2 gentoo-2-56df4ab8292cd9fdf900915fa06d5ec1c7dc14d5.zip |
Fix building with gcc-4.3
(Portage version: 2.1.5_rc6)
Diffstat (limited to 'games-puzzle')
-rw-r--r-- | games-puzzle/ngstar/ChangeLog | 8 | ||||
-rw-r--r-- | games-puzzle/ngstar/files/ngstar-2.1.8-gcc43.patch | 10 | ||||
-rw-r--r-- | games-puzzle/ngstar/ngstar-2.1.8-r2.ebuild | 10 |
3 files changed, 22 insertions, 6 deletions
diff --git a/games-puzzle/ngstar/ChangeLog b/games-puzzle/ngstar/ChangeLog index 3f36cbb5521e..c225817d0bf5 100644 --- a/games-puzzle/ngstar/ChangeLog +++ b/games-puzzle/ngstar/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for games-puzzle/ngstar -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-puzzle/ngstar/ChangeLog,v 1.6 2007/06/10 16:07:25 nyhm Exp $ +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-puzzle/ngstar/ChangeLog,v 1.7 2008/05/02 19:44:34 nyhm Exp $ + + 02 May 2008; Tristan Heaven <nyhm@gentoo.org> + +files/ngstar-2.1.8-gcc43.patch, ngstar-2.1.8-r2.ebuild: + Fix building with gcc-4.3 10 Jun 2007; Tristan Heaven <nyhm@gentoo.org> ngstar-2.1.8-r2.ebuild: Add missing sys-libs/gpm dep diff --git a/games-puzzle/ngstar/files/ngstar-2.1.8-gcc43.patch b/games-puzzle/ngstar/files/ngstar-2.1.8-gcc43.patch new file mode 100644 index 000000000000..72c0f70007a4 --- /dev/null +++ b/games-puzzle/ngstar/files/ngstar-2.1.8-gcc43.patch @@ -0,0 +1,10 @@ +--- libngstar2/Configuration.hh ++++ libngstar2/Configuration.hh +@@ -26,6 +26,7 @@ + #include <fstream> + #include <iostream> + #include <string> ++#include <cstdlib> + + #include <getopt.h> + #include <sys/stat.h> diff --git a/games-puzzle/ngstar/ngstar-2.1.8-r2.ebuild b/games-puzzle/ngstar/ngstar-2.1.8-r2.ebuild index 968012072cdd..ea49a8ec7691 100644 --- a/games-puzzle/ngstar/ngstar-2.1.8-r2.ebuild +++ b/games-puzzle/ngstar/ngstar-2.1.8-r2.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-puzzle/ngstar/ngstar-2.1.8-r2.ebuild,v 1.4 2007/06/12 01:12:26 nyhm Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-puzzle/ngstar/ngstar-2.1.8-r2.ebuild,v 1.5 2008/05/02 19:44:34 nyhm Exp $ inherit eutils games @@ -10,7 +10,7 @@ SRC_URI="http://cycojesus.free.fr/faire/coder/jouer/ng-star/files/${P}-src.tar.b LICENSE="GPL-2" SLOT="0" -KEYWORDS="x86" +KEYWORDS="~amd64 x86" IUSE="" DEPEND="sys-libs/ncurses @@ -19,7 +19,9 @@ DEPEND="sys-libs/ncurses src_unpack() { unpack ${A} cd "${S}" - epatch "${FILESDIR}/${P}"-gentoo-path.patch + epatch \ + "${FILESDIR}"/${P}-gentoo-path.patch \ + "${FILESDIR}"/${P}-gcc43.patch sed -i \ -e "s:@GENTOO_DATA@:${GAMES_DATADIR}:" \ -e "s:@GENTOO_BIN@:${GAMES_BINDIR}:" \ |