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

Bug 457606

Summary: games-emulation/mednafen should depend on media-libs/libsdl[audio,joystick,video,opengl] instead of virtual/opengl
Product: Gentoo Linux Reporter: Piotr Szymaniak <bugzie>
Component: [OLD] GamesAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: normal Keywords: PATCH
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: mednafen-0.9.28.ebuild.patch

Description Piotr Szymaniak 2013-02-14 20:01:19 UTC
Created attachment 338896 [details, diff]
mednafen-0.9.28.ebuild.patch

With current depend compilation fails with:

x86_64-pc-linux-gnu-g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H  -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I../../include -I../../intl -I../..    -fsigned-char  -Wall -Winline -Wshadow -Wempty-body -Wignored-qualifiers -fno-strict-overflow -march=nocona -mno-sse3 -O2 -pipe -c -o main.o main.cpp
x86_64-pc-linux-gnu-g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H  -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I../../include -I../../intl -I../..    -fsigned-char  -Wall -Winline -Wshadow -Wempty-body -Wignored-qualifiers -fno-strict-overflow -march=nocona -mno-sse3 -O2 -pipe -c -o ers.o ers.cpp
x86_64-pc-linux-gnu-g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H  -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I../../include -I../../intl -I../..    -fsigned-char  -Wall -Winline -Wshadow -Wempty-body -Wignored-qualifiers -fno-strict-overflow -march=nocona -mno-sse3 -O2 -pipe -c -o sound.o sound.cpp
In file included from opengl.h:15:0,
                 from main.cpp:46:
/usr/include/SDL/SDL_opengl.h:47:58: fatal error: GL/glu.h: No such file or directory
compilation terminated.
make[2]: *** [main.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from opengl.h:15:0,
                 from opengl.cpp:25:
/usr/include/SDL/SDL_opengl.h:47:58: fatal error: GL/glu.h: No such file or directory
compilation terminated.
make[2]: *** [opengl.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/games-emulation/mednafen-0.9.28/work/mednafen/src/drivers'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/games-emulation/mednafen-0.9.28/work/mednafen/src'
make: *** [all-recursive] Error 1
 * ERROR: games-emulation/mednafen-0.9.28 failed (compile phase):
 *   emake failed
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2013-02-14 20:45:27 UTC
fixed.
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2013-02-19 03:20:17 UTC
fixed.