diff options
author | joerg <joerg@pkgsrc.org> | 2007-07-31 10:12:00 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2007-07-31 10:12:00 +0000 |
commit | a64dc7f70b9843a5de914327d149d4248b02c3b8 (patch) | |
tree | eef57a9f922601868f7f0df5c33c005b8db4fd98 /games/xbreaky | |
parent | b89b60dca2869e841bcd93370acae8666492a06e (diff) | |
download | pkgsrc-a64dc7f70b9843a5de914327d149d4248b02c3b8.tar.gz |
Don't use malloc.h.
Diffstat (limited to 'games/xbreaky')
-rw-r--r-- | games/xbreaky/distinfo | 4 | ||||
-rw-r--r-- | games/xbreaky/patches/patch-ac | 17 |
2 files changed, 15 insertions, 6 deletions
diff --git a/games/xbreaky/distinfo b/games/xbreaky/distinfo index e762c227103..58bdc309284 100644 --- a/games/xbreaky/distinfo +++ b/games/xbreaky/distinfo @@ -1,8 +1,8 @@ -$NetBSD: distinfo,v 1.5 2005/02/23 23:12:04 agc Exp $ +$NetBSD: distinfo,v 1.6 2007/07/31 10:17:38 joerg Exp $ SHA1 (xbreaky-0.0.5.tar.gz) = 3601bf1fb6fe2a3c04d3aed749f1f9e15500e11c RMD160 (xbreaky-0.0.5.tar.gz) = 4e4f8c5a819111ef0c4103dc1ff99dcc2a4c7853 Size (xbreaky-0.0.5.tar.gz) = 31136 bytes SHA1 (patch-aa) = 0cefbc96bf9a015d8573c0e78972421da05efd4a SHA1 (patch-ab) = 0ea22ce8cad38cecd615a0f8fe11de948426601c -SHA1 (patch-ac) = 11a19443637b09a00ea02496a698c880aba9c9d0 +SHA1 (patch-ac) = aa31bf411d4e729ceb370aa32f3d422e263af432 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) { |