diff options
author | motoyuki <motoyuki@FreeBSD.org> | 2002-04-11 08:22:33 +0800 |
---|---|---|
committer | motoyuki <motoyuki@FreeBSD.org> | 2002-04-11 08:22:33 +0800 |
commit | 31759b943319953d8b3fa61a416fb9cea61d9fd6 (patch) | |
tree | ed5d029b9717548cc9a099ce528f2f2eb0473782 /multimedia/xanim | |
parent | 9da96f598e65a1c4e9961542a381f2025f216d2d (diff) | |
download | freebsd-ports-gnome-31759b943319953d8b3fa61a416fb9cea61d9fd6.tar.gz freebsd-ports-gnome-31759b943319953d8b3fa61a416fb9cea61d9fd6.tar.zst freebsd-ports-gnome-31759b943319953d8b3fa61a416fb9cea61d9fd6.zip |
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.
Diffstat (limited to 'multimedia/xanim')
-rw-r--r-- | multimedia/xanim/files/patch-xa_audio.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/multimedia/xanim/files/patch-xa_audio.h b/multimedia/xanim/files/patch-xa_audio.h new file mode 100644 index 000000000000..c31651a74fbe --- /dev/null +++ b/multimedia/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 |