diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /games-rpg/openglad/files | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'games-rpg/openglad/files')
-rw-r--r-- | games-rpg/openglad/files/0.98-gladpack.c.patch | 13 | ||||
-rw-r--r-- | games-rpg/openglad/files/openglad-0.98-gcc43.patch | 11 | ||||
-rw-r--r-- | games-rpg/openglad/files/openglad-0.98-ovfl.patch | 11 |
3 files changed, 35 insertions, 0 deletions
diff --git a/games-rpg/openglad/files/0.98-gladpack.c.patch b/games-rpg/openglad/files/0.98-gladpack.c.patch new file mode 100644 index 000000000000..b4f5de9e3995 --- /dev/null +++ b/games-rpg/openglad/files/0.98-gladpack.c.patch @@ -0,0 +1,13 @@ +--- openglad-0.98/util/gladpack.c 2002-09-14 18:37:50.000000000 +1000 ++++ openglad-0.98/util/gladpack.c 2003-12-06 12:42:31.393812945 +1100 +@@ -9,8 +9,8 @@ + + int main(int argc, char **argv) + { +- if (argc > 1 && !strcmp(argv[1], "p")) pack(argc, argv); +- else if (argc > 1 && !strcmp(argv[1], "u")) unpack(argc, argv); ++ if (argc > 1 && !strcmp(argv[1], "p")) return pack(argc, argv); ++ else if (argc > 1 && !strcmp(argv[1], "u")) return unpack(argc, argv); + else + { + printf("Usage: gladpack (p|u) ...\n"); diff --git a/games-rpg/openglad/files/openglad-0.98-gcc43.patch b/games-rpg/openglad/files/openglad-0.98-gcc43.patch new file mode 100644 index 000000000000..9f46ce8e5b95 --- /dev/null +++ b/games-rpg/openglad/files/openglad-0.98-gcc43.patch @@ -0,0 +1,11 @@ +--- a/src/parser.cpp ++++ b/src/parser.cpp +@@ -23,6 +23,8 @@ + #include <iostream> + #include <fstream> + #include <string> ++#include <cstring> ++#include <cstdlib> + #include "parser.h" + + using namespace std; diff --git a/games-rpg/openglad/files/openglad-0.98-ovfl.patch b/games-rpg/openglad/files/openglad-0.98-ovfl.patch new file mode 100644 index 000000000000..8ec89d22559d --- /dev/null +++ b/games-rpg/openglad/files/openglad-0.98-ovfl.patch @@ -0,0 +1,11 @@ +--- a/src/screen.cpp 2011-07-23 21:35:34.385063301 +0200 ++++ b/src/screen.cpp 2011-07-23 21:35:59.948063312 +0200 +@@ -2383,7 +2383,7 @@ + short listsize; + short i; + walker * new_guy; +- char newgrid[12] = "grid.pix"; // default grid ++ char newgrid[13] = "grid.pix"; // default grid + char new_scen_type; // read the scenario type + char oneline[80]; + char numlines, tempwidth; |