summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2007-07-28 00:52:06 +0000
committerjoerg <joerg@pkgsrc.org>2007-07-28 00:52:06 +0000
commitbfcd7b45fc037dbb27f95e04acb2dda88d48599f (patch)
treec103b9bd80761a51261ac7f787a13eb7e9ca6876 /games
parentf56f32d2be156913e4e3c5f3ee5d68aaac7b71f6 (diff)
downloadpkgsrc-bfcd7b45fc037dbb27f95e04acb2dda88d48599f.tar.gz
Don't use malloc.h, use stdlib.h. Also include sys/soundcard.h for
FreeBSD while here.
Diffstat (limited to 'games')
-rw-r--r--games/xnibbles/distinfo4
-rw-r--r--games/xnibbles/patches/patch-ab21
2 files changed, 18 insertions, 7 deletions
diff --git a/games/xnibbles/distinfo b/games/xnibbles/distinfo
index 8cde560c900..f4e54f07226 100644
--- a/games/xnibbles/distinfo
+++ b/games/xnibbles/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.8 2006/08/29 20:03:24 rillig Exp $
+$NetBSD: distinfo,v 1.9 2007/07/28 00:52:06 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) = 42db457084a9a573b8b823f1dfcd1941a634ce9d
-SHA1 (patch-ab) = a34f7abca19759859509c534cc98aa5be303fb18
+SHA1 (patch-ab) = 46a8b1970eb3aa088e523aa3d45dd82e3dd4c583
diff --git a/games/xnibbles/patches/patch-ab b/games/xnibbles/patches/patch-ab
index 8dacc96415a..0a323cda95a 100644
--- a/games/xnibbles/patches/patch-ab
+++ b/games/xnibbles/patches/patch-ab
@@ -1,14 +1,25 @@
-$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,9 @@
+$NetBSD: patch-ab,v 1.3 2007/07/28 00:52:06 joerg Exp $
+
+--- sound.c.orig 1998-02-28 20:40:49.000000000 +0000
++++ sound.c
+@@ -19,12 +19,18 @@
+ Sean Macisaac (sjm@acm.org), and Ian Peters (ipeters@acm.org). */
+
+ #include "common.h"
+-#include <malloc.h>
++#include <stdlib.h>
+ #include <limits.h>
+ #include <sys/types.h>
+ #include <sys/stat.h>
#include <fcntl.h>
-#include <linux/soundcard.h>
+#if defined(__NetBSD__) || defined(__OpenBSD__)
+ #include <soundcard.h>
-+#elif defined(__DragonFly__)
++#elif defined(__DragonFly__) || defined(__FreeBSD__)
+ #include <sys/soundcard.h>
+#else
+ #include <linux/soundcard.h>
+#endif
#include <sys/ioctl.h>
+ #include <sys/wait.h>
+