summaryrefslogtreecommitdiff
path: root/games/rocksndiamonds/files/patch-ad
diff options
context:
space:
mode:
Diffstat (limited to 'games/rocksndiamonds/files/patch-ad')
-rw-r--r--games/rocksndiamonds/files/patch-ad11
1 files changed, 11 insertions, 0 deletions
diff --git a/games/rocksndiamonds/files/patch-ad b/games/rocksndiamonds/files/patch-ad
new file mode 100644
index 000000000000..5af75e3fa957
--- /dev/null
+++ b/games/rocksndiamonds/files/patch-ad
@@ -0,0 +1,11 @@
+--- src/sound.h.orig Sun Jun 20 18:05:54 1999
++++ src/sound.h Sun Jun 20 18:06:06 1999
+@@ -26,7 +26,7 @@
+ extern void ioctl(long, long, void *);
+ #endif
+
+-#ifdef __FreeBSD__
++#if defined(__FreeBSD__) && !defined(NO_SOUNDS)
+ #include <machine/soundcard.h>
+ #endif
+