diff options
author | Karol Wojtaszek <sekretarz@gentoo.org> | 2004-09-27 15:04:28 +0000 |
---|---|---|
committer | Karol Wojtaszek <sekretarz@gentoo.org> | 2004-09-27 15:04:28 +0000 |
commit | 0f00f6eb02b354ea36e78f0c6581d5c6ca5ce7cb (patch) | |
tree | f2f2e953a2ede879d503dbbb39652de8538450dd /games-emulation/tuxnes/files | |
parent | digest wrong (diff) | |
download | historical-0f00f6eb02b354ea36e78f0c6581d5c6ca5ce7cb.tar.gz historical-0f00f6eb02b354ea36e78f0c6581d5c6ca5ce7cb.tar.bz2 historical-0f00f6eb02b354ea36e78f0c6581d5c6ca5ce7cb.zip |
Fixed gcc-3.4 compile issues.
Diffstat (limited to 'games-emulation/tuxnes/files')
-rw-r--r-- | games-emulation/tuxnes/files/tuxnes-0.75-gcc34.patch | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/games-emulation/tuxnes/files/tuxnes-0.75-gcc34.patch b/games-emulation/tuxnes/files/tuxnes-0.75-gcc34.patch new file mode 100644 index 000000000000..9f33633e75db --- /dev/null +++ b/games-emulation/tuxnes/files/tuxnes-0.75-gcc34.patch @@ -0,0 +1,39 @@ +diff -urN tuxnes-0.75.orig/emu.c tuxnes-0.75/emu.c +--- tuxnes-0.75.orig/emu.c 2001-04-11 17:45:47.000000000 -0400 ++++ tuxnes-0.75/emu.c 2004-09-26 16:24:56.273450432 -0400 +@@ -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); + } + |