Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 219621 - media-libs/sdl-gfx-2.0.16 fails w/ gcc-4.3.0
Summary: media-libs/sdl-gfx-2.0.16 fails w/ gcc-4.3.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-4.3
  Show dependency tree
 
Reported: 2008-04-28 19:40 UTC by Peter Alfredsen (RETIRED)
Modified: 2008-05-10 11:08 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
sdl-gfx-2.0.16.ebuild (sdl-gfx-2.0.16.ebuild,1.23 KB, patch)
2008-04-28 19:43 UTC, Peter Alfredsen (RETIRED)
Details | Diff
sdl-gfx-2.0.16-gcc43.patch (sdl-gfx-2.0.16-gcc43.patch,44.87 KB, patch)
2008-04-28 19:44 UTC, Peter Alfredsen (RETIRED)
Details | Diff
sdl-gfx-2.0.13-gcc43.patch (sdl-gfx-2.0.13-gcc43.patch,34.79 KB, patch)
2008-04-28 19:45 UTC, Peter Alfredsen (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Alfredsen (RETIRED) gentoo-dev 2008-04-28 19:40:06 UTC
i686-pc-linux-gnu-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"SDL_gfx\" -DVERSION=\"2.0.16\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DBUILD_DLL -I. -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -DUSE_MMX -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c SDL_imageFilter.c -o SDL_imageFilter.o >/dev/null 2>&1
make: *** [SDL_imageFilter.lo] Error 1
make: *** Waiting for unfinished jobs....
Comment 1 Peter Alfredsen (RETIRED) gentoo-dev 2008-04-28 19:43:02 UTC
Created attachment 151265 [details, diff]
sdl-gfx-2.0.16.ebuild

Fixes the problem. Adapted from Debian.
Port of the patch described at [1] to 2.0.16. Some brainiard decided to change the commenting style in the file, so this was a hand-job. (heh)
[1] http://packages.debian.org/changelogs/pool/main/s/sdlgfx/current/changelog
Comment 2 Peter Alfredsen (RETIRED) gentoo-dev 2008-04-28 19:44:19 UTC
Created attachment 151267 [details, diff]
sdl-gfx-2.0.16-gcc43.patch

Now, to get a hold of the right file....
Patch as described above. Now with real gcc 4.3.0 goodness.
Comment 3 Peter Alfredsen (RETIRED) gentoo-dev 2008-04-28 19:45:00 UTC
Created attachment 151269 [details, diff]
sdl-gfx-2.0.13-gcc43.patch

The patch from Debian for 2.0.13 for reference.
Comment 4 Peter Alfredsen (RETIRED) gentoo-dev 2008-04-28 19:50:56 UTC
I just sent upstream a note.
Comment 5 Tristan Heaven (RETIRED) gentoo-dev 2008-04-29 17:15:41 UTC
Do you know where that >/dev/null 2>&1 comes from? It would help with other bugs if that wasn't there.
Comment 6 SpanKY gentoo-dev 2008-05-10 11:08:13 UTC
thanks, fixed in the tree now