summaryrefslogtreecommitdiff
path: root/games/netmaze/patches
diff options
context:
space:
mode:
authordanw <danw@pkgsrc.org>2004-05-07 02:16:05 +0000
committerdanw <danw@pkgsrc.org>2004-05-07 02:16:05 +0000
commitc5b43082e1daaf9d1be4724e267ad6152b6eec8c (patch)
tree84f9c8a5875d7290ab7aa4f37be26d8f590e6d09 /games/netmaze/patches
parent035554d3caa28db6b9fa3129095dec607f2eaa13 (diff)
downloadpkgsrc-c5b43082e1daaf9d1be4724e267ad6152b6eec8c.tar.gz
remove malloc.h include for darwin/freebsd
Diffstat (limited to 'games/netmaze/patches')
-rw-r--r--games/netmaze/patches/patch-ad21
1 files changed, 15 insertions, 6 deletions
diff --git a/games/netmaze/patches/patch-ad b/games/netmaze/patches/patch-ad
index 028ffe07812..a239d5e8639 100644
--- a/games/netmaze/patches/patch-ad
+++ b/games/netmaze/patches/patch-ad
@@ -1,8 +1,17 @@
-$NetBSD: patch-ad,v 1.1.1.1 2000/08/29 10:09:44 jdc Exp $
+$NetBSD: patch-ad,v 1.2 2004/05/07 02:16:05 danw Exp $
---- netmaze.c.dist Fri Apr 15 21:34:04 1994
-+++ netmaze.c Fri Jan 7 11:35:04 2000
-@@ -32,7 +32,7 @@
+--- netmaze.c.orig Fri Apr 15 16:34:04 1994
++++ netmaze.c
+@@ -23,16 +23,12 @@
+ *
+ *********************************************************************/
+
+-#ifndef NeXT
+- #include <malloc.h>
+-#endif
+-
+ #include <math.h>
+ #include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -11,7 +20,7 @@ $NetBSD: patch-ad,v 1.1.1.1 2000/08/29 10:09:44 jdc Exp $
#include <sys/time.h>
#include <sys/ioctl.h>
#include <sys/types.h>
-@@ -383,7 +383,7 @@
+@@ -383,7 +379,7 @@ static void start_signal(void)
#ifdef RS6000 /* ibm rs/6000 */
sigemptyset(&vec.sa_mask);
#else
@@ -20,7 +29,7 @@ $NetBSD: patch-ad,v 1.1.1.1 2000/08/29 10:09:44 jdc Exp $
#endif
vec.sa_flags = 0;
if ( sigaction(SIGALRM, &vec, &ovec) == -1) perror("SIGALRM\n");
-@@ -412,7 +412,7 @@
+@@ -412,7 +408,7 @@ static void setup_sigchild(void)
#ifdef RS6000 /* ibm rs/6000 */
sigemptyset(&vec.sa_mask);
#else