Ticket #8336: scummvm-tools-patches

File scummvm-tools-patches, 1.4 KB (added by SF/mrhandler, 21 years ago)

ScummVM tools 0.6.0 fixes (all platforms)

Line 
1diff -ruN scummvm-tools-0.6.0/md5table.c scummvm-tools-0.6.0-patched/md5table.c
2--- scummvm-tools-0.6.0/md5table.c Tue Mar 2 01:39:17 2004
3+++ scummvm-tools-0.6.0-patched/md5table.c Wed Mar 24 02:46:41 2004
4@@ -165,6 +165,9 @@
5
6 bool phpOutput = false;
7
8+ time_t theTime;
9+ const char *generationDate;
10+
11 if (argc != 2)
12 showhelp(argv[0]);
13 if (strcmp(argv[1], "--c++") == 0) {
14@@ -175,9 +178,8 @@
15 showhelp(argv[0]);
16 }
17
18- time_t theTime;
19 time(&theTime);
20- const char *generationDate = strdup(asctime(gmtime(&theTime)));
21+ generationDate = strdup(asctime(gmtime(&theTime)));
22
23 if (phpOutput)
24 fprintf(outFile, php_header, generationDate);
25diff -ruN scummvm-tools-0.6.0/queenrebuild.c scummvm-tools-0.6.0-patched/queenrebuild.c
26--- scummvm-tools-0.6.0/queenrebuild.c Sun Feb 22 13:54:27 2004
27+++ scummvm-tools-0.6.0-patched/queenrebuild.c Wed Mar 24 02:46:29 2004
28@@ -75,7 +75,7 @@
29 };
30
31 struct {
32- char filename[12];
33+ char filename[13];
34 uint8 bundle;
35 uint32 offset;
36 uint32 size;
37diff -ruN scummvm-tools-0.6.0/simon2mp3.c scummvm-tools-0.6.0-patched/simon2mp3.c
38--- scummvm-tools-0.6.0/simon2mp3.c Sun Feb 22 13:54:27 2004
39+++ scummvm-tools-0.6.0-patched/simon2mp3.c Wed Mar 24 02:49:49 2004
40@@ -23,7 +23,7 @@
41
42 char infile_base[256];
43
44-void end(void)
45+static void end(void) /* end is an internal symbol in IRIX linker */
46 {
47 int size;
48 char fbuf[2048];