First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 218390
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Games <games@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Peter Alfredsen <loki_val@gentoo.org>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
groundhog.old.ebuild--groundhog.new.ebuild.patch groundhog.old.ebuild--groundhog.new.ebuild.patch patch Peter Alfredsen 2008-04-19 11:08 0000 33.05 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 218390 depends on: Show dependency tree
Show dependency graph
Bug 218390 blocks: 198121
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-04-19 11:02 0000
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

------- Comment #1 From Peter Alfredsen 2008-04-19 11:08:41 0000 -------
Created an attachment (id=150277) [edit]
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.

------- Comment #2 From SpanKY 2008-04-20 09:22:22 0000 -------
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

First Last Prev Next    No search results available      Search page      Enter new bug