diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:58:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:58:29 +0100 |
commit | 0cf2f20608308acdf3cb922c3736446bbd8f3388 (patch) | |
tree | 07815070629c7c11000a7f51ceb8ccbccb49a809 /games-simulation/pmars-sdl/files | |
parent | 1798c4aeca70ac8d0a243684d6a798fbc65735f8 (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'games-simulation/pmars-sdl/files')
-rw-r--r-- | games-simulation/pmars-sdl/files/pmars-sdl-0.9.2e-format.patch | 65 |
1 files changed, 0 insertions, 65 deletions
diff --git a/games-simulation/pmars-sdl/files/pmars-sdl-0.9.2e-format.patch b/games-simulation/pmars-sdl/files/pmars-sdl-0.9.2e-format.patch deleted file mode 100644 index 4e02da8a82a8..000000000000 --- a/games-simulation/pmars-sdl/files/pmars-sdl-0.9.2e-format.patch +++ /dev/null @@ -1,65 +0,0 @@ ---- a/src/asm.c.old 2015-10-28 13:23:53.465014342 +0100 -+++ b/src/asm.c 2015-10-28 13:23:10.502813377 +0100 -@@ -652,7 +652,7 @@ - macputs(str); - #else - if (!inCdb) -- fprintf(stderr, str); -+ fprintf(stderr, "%s", str); - #if defined DOSALLGRAPHX - else { - if (displayMode == TEXT) -@@ -833,7 +833,7 @@ - #ifdef __MAC__ - textout(notEnoughMemErr); - #else -- fprintf(stderr, notEnoughMemErr); -+ fprintf(stderr, "%s", notEnoughMemErr); - #endif - Exit(MEMERR); - break; -@@ -916,7 +916,7 @@ - } - - if (ierr >= ERRMAX) { -- sprintf(outs, tooManyMsgErr); -+ sprintf(outs, "%s", tooManyMsgErr); - #ifndef VMS - textout(outs); - #else ---- a/src/cdb.c.old 2015-10-28 13:24:04.669805966 +0100 -+++ b/src/cdb.c 2015-10-28 13:23:10.502813377 +0100 -@@ -2760,7 +2760,7 @@ - fprintf(outp, nameByAuthorScores, warrior[idxV[i]].name, warrior[idxV[i]].authorName, - scrV[idxV[i]]); - if (warriors > 2) { -- fprintf(outp, resultsAre); -+ fprintf(outp, "%s", resultsAre); - for (j = 0; j < warriors; ++j) { - fprintf(outp, " %d", warrior[idxV[i]].score[j]); - } ---- a/src/clparse.c.old 2015-10-28 13:24:10.648694768 +0100 -+++ b/src/clparse.c 2015-10-28 13:23:10.502813377 +0100 -@@ -289,7 +289,7 @@ - if (next_input(filep, inputs)) { - if (!strcmp(inputs, "-")) { - newFile = stdin; -- fprintf(stderr, readingStdin); -+ fprintf(stderr, "%s", readingStdin); - } else { - if ((newFile = fopen(inputs, "r")) == NULL) { - code = FILENAME; /* command file not found */ -@@ -430,11 +430,11 @@ - errout(outs); - break; - case MEMORY: -- sprintf(outs, outOfMemory); -+ sprintf(outs, "%s", outOfMemory); - errout(outs); - break; - case FILENAME: -- sprintf(outs, cannotOpenParameterFile); -+ sprintf(outs, "%s", cannotOpenParameterFile); - errout(outs); - break; - } |