diff options
author | motoyuki <motoyuki@FreeBSD.org> | 2002-04-11 12:58:47 +0800 |
---|---|---|
committer | motoyuki <motoyuki@FreeBSD.org> | 2002-04-11 12:58:47 +0800 |
commit | be939f9951586ba4610200eeb3b38a49f576638d (patch) | |
tree | 2989e6803fcc73b5778b295ddd4bea5b7aa3594f /graphics | |
parent | c3a68d9d6f525e7f86df1ced503874d63b40f0ad (diff) | |
download | freebsd-ports-gnome-be939f9951586ba4610200eeb3b38a49f576638d.tar.gz freebsd-ports-gnome-be939f9951586ba4610200eeb3b38a49f576638d.tar.zst freebsd-ports-gnome-be939f9951586ba4610200eeb3b38a49f576638d.zip |
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')
-rw-r--r-- | graphics/libxine/files/patch-src:audio_out:audio_oss_out.c | 14 |
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 000000000000..3f72f84ce062 --- /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 */ |