- add some patches from moblin
This commit is contained in:
Stephan Raue 2010-02-15 06:54:45 +01:00
parent 14eba9c102
commit 7debefa00e
3 changed files with 45 additions and 0 deletions

View File

@ -0,0 +1,13 @@
diff -up SDL-1.2.13/include/SDL_stdinc.h~ SDL-1.2.13/include/SDL_stdinc.h
--- SDL-1.2.13/include/SDL_stdinc.h~ 2007-12-31 05:48:36.000000000 +0100
+++ SDL-1.2.13/include/SDL_stdinc.h 2009-02-13 11:01:34.000000000 +0100
@@ -320,7 +320,7 @@ do { \
#define SDL_memcpy4(dst, src, len) SDL_memcpy(dst, src, (len) << 2)
#endif
-#if defined(__GNUC__) && defined(i386)
+#if 0
#define SDL_revcpy(dst, src, len) \
do { \
int u0, u1, u2; \

View File

@ -0,0 +1,21 @@
--- SDL-1.2.14/src/audio/SDL_audio.c 2009-10-13 18:25:35.000000000 +0800
+++ SDL-1.2.14-new/src/audio/SDL_audio.c 2010-01-08 15:29:35.000000000 +0800
@@ -36,15 +36,15 @@
/* Available audio drivers */
static AudioBootStrap *bootstrap[] = {
-#if SDL_AUDIO_DRIVER_BSD
- &BSD_AUDIO_bootstrap,
-#endif
#if SDL_AUDIO_DRIVER_PULSE
&PULSE_bootstrap,
#endif
#if SDL_AUDIO_DRIVER_ALSA
&ALSA_bootstrap,
#endif
+#if SDL_AUDIO_DRIVER_BSD
+ &BSD_AUDIO_bootstrap,
+#endif
#if SDL_AUDIO_DRIVER_OSS
&DSP_bootstrap,
&DMA_bootstrap,

View File

@ -0,0 +1,11 @@
diff -Nur SDL-1.2.14/configure.in SDL-1.2.14-new/configure.in
--- SDL-1.2.14/configure.in 2009-10-18 01:35:03.000000000 +0800
+++ SDL-1.2.14-new/configure.in 2010-01-08 15:14:09.000000000 +0800
@@ -745,7 +745,6 @@
esac
fi
- AC_PATH_PROG(NASM, yasm)
echo "%ifidn __OUTPUT_FORMAT__,elf" > unquoted-sections
echo "section .note.GNU-stack noalloc noexec nowrite progbits" >> unquoted-sections
echo "%endif" >> unquoted-sections