diff options
author | Kyle Guinn <elyk03@gmail.com> | 2010-05-12 17:39:38 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-12 17:39:38 +0200 |
commit | f01fa50fe20f634dcd4165ac3b4023d34c3be3d1 (patch) | |
tree | 47dd3c27a06f2865a3c5724cc80267ba51f67ca0 /games/tuxnes/patches/emu.c.patch | |
parent | 83e64ec7fd5c06b56f3af5a0d855576105d21a89 (diff) | |
download | slackbuilds-f01fa50fe20f634dcd4165ac3b4023d34c3be3d1.tar.gz |
games/tuxnes: Updated for version 0.75
Diffstat (limited to 'games/tuxnes/patches/emu.c.patch')
-rw-r--r-- | games/tuxnes/patches/emu.c.patch | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/games/tuxnes/patches/emu.c.patch b/games/tuxnes/patches/emu.c.patch new file mode 100644 index 0000000000..0b33a7190c --- /dev/null +++ b/games/tuxnes/patches/emu.c.patch @@ -0,0 +1,38 @@ +--- emu.c~ 2007-06-30 02:02:34.000000000 -0500 ++++ emu.c 2007-06-30 02:04:48.000000000 -0500 +@@ -890,7 +890,7 @@ + len = strlen(palfile) + 1; + if (! (buffer = malloc(len))) + { +- perror (__FUNCTION__ ": malloc"); ++ perror ("loadpal: malloc"); + return; + } + memcpy (buffer, palfile, len); +@@ -912,7 +912,7 @@ + len = strlen(filename) + 1; + if (! (buffer = malloc(len))) + { +- perror (__FUNCTION__ ": malloc"); ++ perror ("loadpal: malloc"); + return; + } + memcpy (buffer, filename, len); +@@ -924,7 +924,7 @@ + return; + if (!(palfile = malloc ((len = strlen (filename)) + 11))) + { +- perror (__FUNCTION__ ": malloc"); ++ perror ("loadpal: malloc"); + return; + } + strcpy (palfile, filename); +@@ -1602,7 +1602,7 @@ + + if (! (basefilename = malloc(baseend - basestart + 1))) + { +- perror (__FUNCTION__ ": malloc"); ++ perror ("main: malloc"); + exit (1); + } + |