pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/games/xnibbles Don't use malloc.h, use stdlib.h. Also ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5b9698191f17
branches:  trunk
changeset: 531299:5b9698191f17
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sat Jul 28 00:52:06 2007 +0000

description:
Don't use malloc.h, use stdlib.h. Also include sys/soundcard.h for
FreeBSD while here.

diffstat:

 games/xnibbles/distinfo         |   4 ++--
 games/xnibbles/patches/patch-ab |  21 ++++++++++++++++-----
 2 files changed, 18 insertions(+), 7 deletions(-)

diffs (47 lines):

diff -r ff026c790e7f -r 5b9698191f17 games/xnibbles/distinfo
--- a/games/xnibbles/distinfo   Sat Jul 28 00:49:06 2007 +0000
+++ b/games/xnibbles/distinfo   Sat Jul 28 00:52:06 2007 +0000
@@ -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 -r ff026c790e7f -r 5b9698191f17 games/xnibbles/patches/patch-ab
--- a/games/xnibbles/patches/patch-ab   Sat Jul 28 00:49:06 2007 +0000
+++ b/games/xnibbles/patches/patch-ab   Sat Jul 28 00:52:06 2007 +0000
@@ -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@localhost), and Ian Peters (ipeters%acm.org@localhost). */
+ 
+ #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>
+ 



Home | Main Index | Thread Index | Old Index