summaryrefslogtreecommitdiff
path: root/games/xnibbles
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-01-04 23:39:24 +0000
committerjoerg <joerg@pkgsrc.org>2006-01-04 23:39:24 +0000
commit954114cdb5595726c9a8e7f6654f1e21b42acbf6 (patch)
tree6c3da5003a5eb735b61a9aba6c26154a9da0e5dd /games/xnibbles
parentc6761ed17e9777054908c7b706ce79ae385b5ac0 (diff)
downloadpkgsrc-954114cdb5595726c9a8e7f6654f1e21b42acbf6.tar.gz
Use soundcard.h for OpenBSD and sys/soundcard.h for DragonFly.
Diffstat (limited to 'games/xnibbles')
-rw-r--r--games/xnibbles/distinfo4
-rw-r--r--games/xnibbles/patches/patch-ab8
2 files changed, 7 insertions, 5 deletions
diff --git a/games/xnibbles/distinfo b/games/xnibbles/distinfo
index 0ce12fc6bf9..d190c344acd 100644
--- a/games/xnibbles/distinfo
+++ b/games/xnibbles/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.6 2005/02/23 23:12:04 agc Exp $
+$NetBSD: distinfo,v 1.7 2006/01/04 23:39:24 joerg Exp $
SHA1 (xnibbles-1.0BETA4.tar.gz) = 2f0ed0ea1184cb3e81fa56a430d3c53e96618452
RMD160 (xnibbles-1.0BETA4.tar.gz) = a07ae907d72a5b4aac093cfe5a3cf7d02a4024e9
Size (xnibbles-1.0BETA4.tar.gz) = 134982 bytes
SHA1 (patch-aa) = e21c77eb47cfdf8e61539abc98693c0c3833878f
-SHA1 (patch-ab) = faadb812447658f6f7f1a808a4361f372d095a3f
+SHA1 (patch-ab) = a34f7abca19759859509c534cc98aa5be303fb18
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