Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 219621

Summary: media-libs/sdl-gfx-2.0.16 fails w/ gcc-4.3.0
Product: Gentoo Linux Reporter: Peter Alfredsen (RETIRED) <loki_val>
Component: [OLD] GCC PortingAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: normal CC: esigra
Priority: High    
Version: 2007.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 198121    
Attachments: sdl-gfx-2.0.16.ebuild
sdl-gfx-2.0.16-gcc43.patch
sdl-gfx-2.0.13-gcc43.patch

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