diff options
author | Motoyuki Konno <motoyuki@FreeBSD.org> | 2002-04-11 04:58:47 +0000 |
---|---|---|
committer | Motoyuki Konno <motoyuki@FreeBSD.org> | 2002-04-11 04:58:47 +0000 |
commit | f5f9e49a3b61ae2d5d28735a24bbce3a628700c8 (patch) | |
tree | 5d0e8371aa70518f52c87361a04edd44a29f39e2 /graphics/libxine | |
parent | upgrade to 7.2.1 (diff) |
Fix build problem on FreeBSD 5-current.
o <machine/soundcard.h> is moved to <sys/soundcard.h> on 4-stable
and 5-current.
Notes
Notes:
svn path=/head/; revision=57556
Diffstat (limited to 'graphics/libxine')
-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 */ |