Bug 51852 - sdl-mixer has a broken dependency
|
Bug#:
51852
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: All
|
|
OS/Version: All
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: games@gentoo.org
|
Reported By: pauldv@gentoo.org
|
|
Component: Games
|
|
|
URL:
|
|
Summary: sdl-mixer has a broken dependency
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2004-05-23 13:29 0000
|
Ok, while sdl-mixer claims to depend on libmikmod. It actually doesn't. It
includes an old version of libmikmod and links it in statically. This causes
for example that the mod garbling on amd64 will not be fixed by the libmikmod
patch.
There are two options to fix sdl-mixer. First to remove the mikmod dependency
from sdl-mixer. Another one, rather, but more dangerous (should be tested
first) is to apply some patches to make it build against an external mikmod.
I'll attach the needed patchfile, but it also changes some parts of the source
so that's where the danger is. I didn't thoroughly test the patches on the area
of building with other packages and running well.
used a slightly different patch and added to portage, thanks
The new ebuild does not work if the user does not USE mikmod. I have "-mikmod"
in my make.conf, and emerge fails with the error
ld: cannot find -lmikmod
seems to be an autoconf bug ... i'll poke around
Re: Comment #4
in case this hasn't already been fixed:
use_enable line in sdl-mixer-1.2.5-r2.ebuild for mikmod appears to run correctly with `use_enable mikmod music-mod` rather than `use_enable mikmod mod` for users with USE="-mikmod"
After upgrading to r2, I get these from tuxracer but not from r1. No music is
played and I can never enter a race in tuxracer, it just halt.
%%% tuxracer warning: FAILED to load music file music/start1-jt.it: No error
%%% tuxracer warning: FAILED to load music file music/options1-jt.it: No error
%%% tuxracer warning: FAILED to load music file music/race1-jt.it: No error
%%% tuxracer warning: FAILED to load music file music/wonrace1-jt.it: No error
ah it was a bug in the ebuild ... the configure option is 'music-mod' not 'mod'
fixed in cvs, sorry about that
*** Bug 52064 has been marked as a duplicate of this bug. ***
1.2.5-r1 includes a patch which fixes amd64 issues
as for not using system mikmod, we'll let upstream handle that