diff options
author | Mike Frysinger <vapier@gentoo.org> | 2003-09-14 04:37:58 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2003-09-14 04:37:58 +0000 |
commit | 56bcdfbd09dc740147ef2da9fc813a06ed8b8bbf (patch) | |
tree | 6d7c2ceb46cf2f7ef002d51a9ec657ae8403642f /games-puzzle | |
parent | touchup (diff) | |
download | historical-56bcdfbd09dc740147ef2da9fc813a06ed8b8bbf.tar.gz historical-56bcdfbd09dc740147ef2da9fc813a06ed8b8bbf.tar.bz2 historical-56bcdfbd09dc740147ef2da9fc813a06ed8b8bbf.zip |
gcc3 patch
Diffstat (limited to 'games-puzzle')
-rw-r--r-- | games-puzzle/groundhog/ChangeLog | 5 | ||||
-rw-r--r-- | games-puzzle/groundhog/files/1.4-gcc3.patch | 39 | ||||
-rw-r--r-- | games-puzzle/groundhog/groundhog-1.4.ebuild | 8 |
3 files changed, 50 insertions, 2 deletions
diff --git a/games-puzzle/groundhog/ChangeLog b/games-puzzle/groundhog/ChangeLog index 989edf028db5..0e45129e0fe8 100644 --- a/games-puzzle/groundhog/ChangeLog +++ b/games-puzzle/groundhog/ChangeLog @@ -1,8 +1,11 @@ # ChangeLog for games-puzzle/groundhog # Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-puzzle/groundhog/ChangeLog,v 1.2 2003/09/10 15:48:22 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-puzzle/groundhog/ChangeLog,v 1.3 2003/09/14 04:37:58 vapier Exp $ *groundhog-1.4 (07 Mar 2003) + 14 Sep 2003; Mike Frysinger <vapier@gentoo.org> : + Added a gcc3 patch. + 07 Mar 2003; Mike Frysinger <vapier@gentoo.org> : Initial import. Ebuild submitted by Ron <doobedoobedo@quake3world.com> #15654. diff --git a/games-puzzle/groundhog/files/1.4-gcc3.patch b/games-puzzle/groundhog/files/1.4-gcc3.patch new file mode 100644 index 000000000000..ede4765ebba4 --- /dev/null +++ b/games-puzzle/groundhog/files/1.4-gcc3.patch @@ -0,0 +1,39 @@ +diff -ur src.orig/game.cc src/game.cc +--- src.orig/game.cc 2003-09-14 00:31:24.735219680 -0400 ++++ src/game.cc 2003-09-14 00:30:40.688915736 -0400 +@@ -18,7 +18,8 @@ + + #include <config.h> + +-#include <strstream.h> ++#include <strstream> ++using namespace std; + #include <time.h> + #include <unistd.h> + +diff -ur src.orig/highscore_tab.cc src/highscore_tab.cc +--- src.orig/highscore_tab.cc 2003-09-14 00:31:24.744218312 -0400 ++++ src/highscore_tab.cc 2003-09-14 00:30:56.376530856 -0400 +@@ -16,7 +16,8 @@ + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + */ + +-#include <strstream.h> ++#include <strstream> ++using namespace std; + + #include "highscore_tab.h" + #include "intl.h" +diff -ur src.orig/solved_dialog.cc src/solved_dialog.cc +--- src.orig/solved_dialog.cc 2003-09-14 00:31:24.743218464 -0400 ++++ src/solved_dialog.cc 2003-09-14 00:30:48.212771936 -0400 +@@ -16,7 +16,8 @@ + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + */ + +-#include <strstream.h> ++#include <strstream> ++using namespace std; + + #include "intl.h" + #include "solved_dialog.h" diff --git a/games-puzzle/groundhog/groundhog-1.4.ebuild b/games-puzzle/groundhog/groundhog-1.4.ebuild index 2f5b81b6f513..e620d6ceb82e 100644 --- a/games-puzzle/groundhog/groundhog-1.4.ebuild +++ b/games-puzzle/groundhog/groundhog-1.4.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-puzzle/groundhog/groundhog-1.4.ebuild,v 1.2 2003/09/14 04:24:30 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-puzzle/groundhog/groundhog-1.4.ebuild,v 1.3 2003/09/14 04:37:58 vapier Exp $ inherit games @@ -17,6 +17,12 @@ DEPEND="virtual/x11 =x11-libs/gtk+-2* =dev-libs/glib-2*" +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/${PV}-gcc3.patch +} + src_compile() { egamesconf `use_enable nls` || die emake CXXFLAGS="${CXXFLAGS}" || die |