1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-15 07:56:36 +00:00
freebsd-ports/emulators/stonx/files/patch-audio.c
Dirk Meyer abf97d8550 - update to 0.6.7.6
- update MASTER_SITES
- install in standard path
- wrapper script removed
- enable audio support
- reset MAINTAINER after 4 weeks
PR:		152393
Approved by:	(maintainer timeout)
2010-12-21 05:32:39 +00:00

13 lines
404 B
C

--- audio.c.orig 2004-08-15 16:07:55.000000000 +0200
+++ audio.c 2010-04-03 09:44:58.000000000 +0200
@@ -45,6 +45,9 @@
#include <linux/sched.h>
#include <linux/unistd.h>
#endif
+#elif defined(__FreeBSD__)
+#include <sys/soundcard.h>
+#define SOUND_DEVICE "/dev/dsp"
#elif defined(__NetBSD__) || defined(__OpenBSD__)
/* NetBSD's Linux API emulation, require -lossaudio too */
#include <soundcard.h>