summaryrefslogtreecommitdiff
path: root/graphics/xanim
diff options
context:
space:
mode:
authorMotoyuki Konno <motoyuki@FreeBSD.org>2002-04-11 00:22:33 +0000
committerMotoyuki Konno <motoyuki@FreeBSD.org>2002-04-11 00:22:33 +0000
commit8d4724eed27e72e3f2a9a36ab4155f4c4ecc0423 (patch)
tree26189917c240f2513378f6a16427794c671af726 /graphics/xanim
parentFix build problem on 5-current. (diff)
Fix build problem on 5-current.
<machine/soundcard.h> is moved to <sys/soundcard.h> on both 4-stable and 5-current. See commitlog of src/include/Makefile rev 1.165.
Notes
Notes: svn path=/head/; revision=57551
Diffstat (limited to 'graphics/xanim')
-rw-r--r--graphics/xanim/files/patch-xa_audio.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/graphics/xanim/files/patch-xa_audio.h b/graphics/xanim/files/patch-xa_audio.h
new file mode 100644
index 000000000000..c31651a74fbe
--- /dev/null
+++ b/graphics/xanim/files/patch-xa_audio.h
@@ -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