ports/multimedia/xanim/files/patch-xa_audio.h
Dirk Meyer d5debff4b7 multimedia/xanim: fix build with gcc14
cleanup MASTER_SITES
cleanup pkg-descr
reformat patches
PR: 281241
2024-09-04 18:40:36 +02:00

14 lines
329 B
C

--- xa_audio.h.orig 1999-03-21 22:36:25 UTC
+++ xa_audio.h
@@ -139,7 +139,11 @@ extern xaULONG xa_forkit;
#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