summaryrefslogtreecommitdiff
path: root/games/xnibbles/patches
diff options
context:
space:
mode:
authorjoerg <joerg>2006-01-04 23:39:24 +0000
committerjoerg <joerg>2006-01-04 23:39:24 +0000
commit440e2455c005c753ee9c274b30869f0ed2adae50 (patch)
tree6c3da5003a5eb735b61a9aba6c26154a9da0e5dd /games/xnibbles/patches
parent17785dab51313a153e76bc44b9310fc6200a16c1 (diff)
downloadpkgsrc-440e2455c005c753ee9c274b30869f0ed2adae50.tar.gz
Use soundcard.h for OpenBSD and sys/soundcard.h for DragonFly.
Diffstat (limited to 'games/xnibbles/patches')
-rw-r--r--games/xnibbles/patches/patch-ab8
1 files changed, 5 insertions, 3 deletions
diff --git a/games/xnibbles/patches/patch-ab b/games/xnibbles/patches/patch-ab
index e76022b468f..8dacc96415a 100644
--- a/games/xnibbles/patches/patch-ab
+++ b/games/xnibbles/patches/patch-ab
@@ -1,11 +1,13 @@
-$NetBSD: patch-ab,v 1.1 1998/08/23 09:55:27 garbled Exp $
+$NetBSD: patch-ab,v 1.2 2006/01/04 23:39:24 joerg Exp $
--- sound.c.orig Sun Aug 23 02:24:57 1998
+++ sound.c Sun Aug 23 02:25:31 1998
-@@ -26,3 +26,7 @@
+@@ -26,3 +26,9 @@
#include <fcntl.h>
-#include <linux/soundcard.h>
-+#ifdef __NetBSD__
++#if defined(__NetBSD__) || defined(__OpenBSD__)
+ #include <soundcard.h>
++#elif defined(__DragonFly__)
++ #include <sys/soundcard.h>
+#else
+ #include <linux/soundcard.h>
+#endif