summaryrefslogtreecommitdiff
path: root/packages/libsdl/files
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2008-08-11 20:01:19 +0000
committerKoen Kooi <koen@openembedded.org>2008-08-11 20:01:19 +0000
commit431697c77724dc806279f6d5806cbd07d0d943bc (patch)
tree676202daca2c9750ff60f16fb2c1470a0076d565 /packages/libsdl/files
parent8044ec1f6a518659108ecf23c7c69d5d3f488ca8 (diff)
libsdl-x11: fix cdrom support and enable it
Diffstat (limited to 'packages/libsdl/files')
-rw-r--r--packages/libsdl/files/sdl-cdfix.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/packages/libsdl/files/sdl-cdfix.patch b/packages/libsdl/files/sdl-cdfix.patch
new file mode 100644
index 0000000000..a6a36483d4
--- /dev/null
+++ b/packages/libsdl/files/sdl-cdfix.patch
@@ -0,0 +1,11 @@
+--- /tmp/SDL_syscdrom.c 2008-08-11 21:56:58.000000000 +0200
++++ SDL-1.2.11/src/cdrom/linux/SDL_syscdrom.c 2008-08-11 21:57:07.813198000 +0200
+@@ -51,6 +51,8 @@
+ #ifdef __SVR4
+ #include <sys/cdio.h>
+ #endif
++#include <linux/cdrom.h>
++
+
+ /* Define this to use the alternative getmntent() code */
+ #ifndef __SVR4