summaryrefslogtreecommitdiff
path: root/libxine/libxine-1.0.0-beta12/fix-oss-plugin.patch
diff options
context:
space:
mode:
Diffstat (limited to 'libxine/libxine-1.0.0-beta12/fix-oss-plugin.patch')
-rw-r--r--libxine/libxine-1.0.0-beta12/fix-oss-plugin.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/libxine/libxine-1.0.0-beta12/fix-oss-plugin.patch b/libxine/libxine-1.0.0-beta12/fix-oss-plugin.patch
index e69de29bb2..be44ad3486 100644
--- a/libxine/libxine-1.0.0-beta12/fix-oss-plugin.patch
+++ b/libxine/libxine-1.0.0-beta12/fix-oss-plugin.patch
@@ -0,0 +1,29 @@
+
+#
+# Patch managed by http://www.holgerschurig.de/patcher.html
+#
+
+--- xine-lib-1-beta12/src/audio_out/audio_oss_out.c~fix-oss-plugin
++++ xine-lib-1-beta12/src/audio_out/audio_oss_out.c
+@@ -46,20 +46,7 @@
+ #include <fcntl.h>
+ #include <math.h>
+ #include <unistd.h>
+-#if defined(__OpenBSD__)
+-# include <soundcard.h>
+-#elif defined (__FreeBSD__)
+-# if __FreeBSD__ < 4
+-# include <machine/soundcard.h>
+-# else
+-# include <sys/soundcard.h>
+-# endif
+-#else
+-# if defined(__linux__)
+-# include <linux/config.h> /* Check for DEVFS */
+-# endif
+-# include <sys/soundcard.h>
+-#endif
++#include <sys/soundcard.h>
+ #include <sys/ioctl.h>
+ #include <inttypes.h>
+