summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-video/xanim/files/xanim-2.80.1-freebsd.patch')
-rw-r--r--media-video/xanim/files/xanim-2.80.1-freebsd.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/media-video/xanim/files/xanim-2.80.1-freebsd.patch b/media-video/xanim/files/xanim-2.80.1-freebsd.patch
new file mode 100644
index 000000000000..c31651a74fbe
--- /dev/null
+++ b/media-video/xanim/files/xanim-2.80.1-freebsd.patch
@@ -0,0 +1,14 @@
+--- xa_audio.h.old Thu Apr 11 08:48:39 2002
++++ xa_audio.h Thu Apr 11 08:49:25 2002
+@@ -139,7 +139,11 @@
+ #define _FILE_DSP "/dev/dsp"
+ #define _FILE_MIXER "/dev/mixer"
+ #ifdef __FreeBSD__
++#if __FreeBSD__ > 3
++#include <sys/soundcard.h>
++#else
+ #include <machine/soundcard.h>
++#endif
+ #else
+ #include <sys/soundcard.h>
+ #endif