mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 21:26:49 +00:00
SDL:
- add some patches from moblin
This commit is contained in:
parent
14eba9c102
commit
7debefa00e
13
packages/multimedia/SDL/patches/SDL-1.2.13-rh484362.diff
Normal file
13
packages/multimedia/SDL/patches/SDL-1.2.13-rh484362.diff
Normal 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; \
|
||||
|
21
packages/multimedia/SDL/patches/SDL-1.2.14-audiodriver.diff
Normal file
21
packages/multimedia/SDL/patches/SDL-1.2.14-audiodriver.diff
Normal 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,
|
11
packages/multimedia/SDL/patches/SDL-1.2.14-disable_yasm.diff
Normal file
11
packages/multimedia/SDL/patches/SDL-1.2.14-disable_yasm.diff
Normal 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
|
Loading…
x
Reference in New Issue
Block a user