source='dialog.cc' object='dialog.o' libtool=no \ depfile='.deps/dialog.Po' tmpdepfile='.deps/dialog.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -c -o dialog.o `test -f 'dialog.cc' || echo './'`dialog.cc source='element.cc' object='element.o' libtool=no \ depfile='.deps/element.Po' tmpdepfile='.deps/element.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -c -o element.o `test -f 'element.cc' || echo './'`element.cc source='game.cc' object='game.o' libtool=no \ depfile='.deps/game.Po' tmpdepfile='.deps/game.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -c -o game.o `test -f 'game.cc' || echo './'`game.cc dialog.cc:19:22: error: iostream.h: No such file or directory make[2]: *** [dialog.o] Error 1 make[2]: *** Waiting for unfinished jobs.... In file included from /usr/lib/gcc/i686-pc-linux-gnu/4.3.0/include/g++-v4/backward/strstream:51, from game.cc:21: /usr/lib/gcc/i686-pc-linux-gnu/4.3.0/include/g++-v4/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. game.cc:55: warning: deprecated conversion from string constant to ‘gchar*’ game.cc:55: warning: deprecated conversion from string constant to ‘gchar*’ game.cc:55: warning: deprecated conversion from string constant to ‘gchar*’ game.cc:55: warning: deprecated conversion from string constant to ‘gchar*’ game.cc:55: warning: deprecated conversion from string constant to ‘gchar*’ game.cc:55: warning: deprecated conversion from string constant to ‘gchar*’ game.cc:55: warning: deprecated conversion from string constant to ‘gchar*’ game.cc:55: warning: deprecated conversion from string constant to ‘gchar*’ game.cc:55: warning: deprecated conversion from string constant to ‘gchar*’ game.cc:55: warning: deprecated conversion from string constant to ‘gchar*’ game.cc:55: warning: deprecated conversion from string constant to ‘gchar*’ game.cc:55: warning: deprecated conversion from string constant to ‘gchar*’ game.cc:55: warning: deprecated conversion from string constant to ‘gchar*’ game.cc:55: warning: deprecated conversion from string constant to ‘gchar*’ game.cc:55: warning: deprecated conversion from string constant to ‘gchar*’ game.cc:55: warning: deprecated conversion from string constant to ‘gchar*’ game.cc:55: warning: deprecated conversion from string constant to ‘gchar*’ game.cc: In member function ‘void Game::Shuffle()’: game.cc:470: error: ‘srand’ was not declared in this scope make[2]: *** [game.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/games-puzzle/groundhog-1.4/work/groundhog-1.4/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/games-puzzle/groundhog-1.4/work/groundhog-1.4' make: *** [all] Error 2 Reproducible: Always
Created attachment 150277 [details, diff] groundhog.old.ebuild--groundhog.new.ebuild.patch in directory groundhog, do patch -p1 < this.patch So I was really only trying to fix the gcc-4.3.0 compile failure, but then I saw that Debian had used the bump opportunity to add some niceness to their version, so I thought I would too. This patch adds a .desktop entry, swedish translation, fixups for old autotools and gettext cause we need to run eautoreconf and a more streamlined design (if I do say so myself). If you're no interested in the extras, you can just extract groundhog-1.4-gcc-fixup.patch from the patch. It includes the earlier gcc fixups as well, so they can be deleted.
well, if you're just grabbing stuff from Debian, might as well use the original patchset http://sources.gentoo.org/games-puzzle/groundhog/groundhog-1.4.ebuild?r1=1.18&r2=1.19