[BUG] SDL 1.2.7 fails to compile with gcc 3.4.0 on x86

Error message:

SDL_mixer_MMX.c: In function SDL_MixAudio_MMX_S16': SDL_mixer_MMX.c:16: error: PIC registerebx’ clobbered in asm' SDL_mixer_MMX.c: In functionSDL_MixAudio_MMX_S8’:
SDL_mixer_MMX.c:120: error: PIC register ebx' clobbered inasm’

Fairly trivial fix (simply using edx rather than ebx) attached.

LLaP
bero
-------------- next part --------------
A non-text attachment was scrubbed…
Name: SDL-1.2.7-gcc-3.4.patch
Type: text/x-diff
Size: 1595 bytes
Desc: not available
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20040501/ee467511/attachment.patch