summaryrefslogtreecommitdiffstats
path: root/graphics/libxine
diff options
context:
space:
mode:
authormotoyuki <motoyuki@FreeBSD.org>2002-04-11 04:58:47 +0000
committermotoyuki <motoyuki@FreeBSD.org>2002-04-11 04:58:47 +0000
commitbe939f9951586ba4610200eeb3b38a49f576638d (patch)
tree2989e6803fcc73b5778b295ddd4bea5b7aa3594f /graphics/libxine
parentc3a68d9d6f525e7f86df1ced503874d63b40f0ad (diff)
downloadFreeBSD-ports-be939f9951586ba4610200eeb3b38a49f576638d.zip
FreeBSD-ports-be939f9951586ba4610200eeb3b38a49f576638d.tar.gz
Fix build problem on FreeBSD 5-current.
o <machine/soundcard.h> is moved to <sys/soundcard.h> on 4-stable and 5-current.
Diffstat (limited to 'graphics/libxine')
-rw-r--r--graphics/libxine/files/patch-src:audio_out:audio_oss_out.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/graphics/libxine/files/patch-src:audio_out:audio_oss_out.c b/graphics/libxine/files/patch-src:audio_out:audio_oss_out.c
new file mode 100644
index 0000000..3f72f84
--- /dev/null
+++ b/graphics/libxine/files/patch-src:audio_out:audio_oss_out.c
@@ -0,0 +1,14 @@
+--- src/audio_out/audio_oss_out.c.old Tue Jan 15 21:55:15 2002
++++ src/audio_out/audio_oss_out.c Thu Apr 11 13:27:47 2002
+@@ -49,7 +49,11 @@
+ #if defined(__OpenBSD__)
+ #include <soundcard.h>
+ #elif defined(__FreeBSD__)
++#if __FreeBSD__ > 3
++#include <sys/soundcard.h>
++#else
+ #include <machine/soundcard.h>
++#endif
+ #else
+ #if defined(__linux__)
+ #include <linux/config.h> /* Check for DEVFS */
OpenPOWER on IntegriCloud