summaryrefslogtreecommitdiff
path: root/games/xbreaky/patches
diff options
context:
space:
mode:
authorjoerg <joerg>2007-07-31 10:12:00 +0000
committerjoerg <joerg>2007-07-31 10:12:00 +0000
commit0ab535382ae8e680c4a7be7835709f4ca54e758e (patch)
treeeef57a9f922601868f7f0df5c33c005b8db4fd98 /games/xbreaky/patches
parent14c22e643ee8c9121962d308d805536c0eafb656 (diff)
downloadpkgsrc-0ab535382ae8e680c4a7be7835709f4ca54e758e.tar.gz
Don't use malloc.h.
Diffstat (limited to 'games/xbreaky/patches')
-rw-r--r--games/xbreaky/patches/patch-ac17
1 files changed, 13 insertions, 4 deletions
diff --git a/games/xbreaky/patches/patch-ac b/games/xbreaky/patches/patch-ac
index 10942e60ea5..799411c0659 100644
--- a/games/xbreaky/patches/patch-ac
+++ b/games/xbreaky/patches/patch-ac
@@ -1,7 +1,16 @@
-$NetBSD: patch-ac,v 1.1.1.1 2000/10/15 18:04:20 rh Exp $
+$NetBSD: patch-ac,v 1.2 2007/07/31 10:17:38 joerg Exp $
---- xbreaky.snd.c.orig Thu May 11 10:13:45 2000
+--- xbreaky.snd.c.orig 2000-05-11 08:13:45.000000000 +0000
+++ xbreaky.snd.c
+@@ -20,7 +20,7 @@
+ */
+
+ #include <stdio.h>
+-#include <malloc.h>
++#include <stdlib.h>
+ #include <unistd.h>
+ #include <stdlib.h>
+ #include <getopt.h>
@@ -28,11 +28,19 @@
#include <string.h>
#include <strings.h>
@@ -22,7 +31,7 @@ $NetBSD: patch-ac,v 1.1.1.1 2000/10/15 18:04:20 rh Exp $
#define RAWFILESDIR PREFIX"/share/games/xbreaky"
int timelimit = 0, dsp_speed = DEFAULT_DSP_SPEED, dsp_stereo = 0;
-@@ -53,7 +61,6 @@
+@@ -53,7 +61,6 @@ int main (int argc, char *argv[])
char k;
signal(SIGTERM, quit);
@@ -30,7 +39,7 @@ $NetBSD: patch-ac,v 1.1.1.1 2000/10/15 18:04:20 rh Exp $
audio = open (AUDIO, O_WRONLY, 0);
if (audio == -1)
{
-@@ -101,7 +108,7 @@
+@@ -101,7 +108,7 @@ int main (int argc, char *argv[])
}
if(i!=-1)
{