summaryrefslogtreecommitdiff
path: root/games-rpg/adonthell/files/adonthell-0.3.5-glibc-2.10.patch
diff options
context:
space:
mode:
Diffstat (limited to 'games-rpg/adonthell/files/adonthell-0.3.5-glibc-2.10.patch')
-rw-r--r--games-rpg/adonthell/files/adonthell-0.3.5-glibc-2.10.patch22
1 files changed, 0 insertions, 22 deletions
diff --git a/games-rpg/adonthell/files/adonthell-0.3.5-glibc-2.10.patch b/games-rpg/adonthell/files/adonthell-0.3.5-glibc-2.10.patch
deleted file mode 100644
index 7aec808cd5f1..000000000000
--- a/games-rpg/adonthell/files/adonthell-0.3.5-glibc-2.10.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-diff -Naurp adonthell-0.3.4-orig/src/dialog.cc adonthell-0.3.4/src/dialog.cc
---- adonthell-0.3.4-orig/src/dialog.cc 2005-03-10 12:39:41.000000000 -0600
-+++ adonthell-0.3.4/src/dialog.cc 2009-07-26 15:57:01.410882131 -0600
-@@ -265,7 +265,8 @@ string dialog::scan_string (const char *
- {
- u_int32 begin, end, len;
- PyObject *result;
-- char *tmp, *start, *mid, *str = NULL;
-+ const char *start;
-+ char *tmp, *mid, *str = NULL;
- character *the_player = data::the_player;
- string newstr (s);
-
-@@ -318,7 +319,7 @@ string dialog::scan_string (const char *
-
- // Error!
- cout << "\n*** Error, unknown macro " << start << flush;
-- start[0] = ' ';
-+ newstr[newstr.length () - strlen (start)] = ' ';
- }
-
- // execute python functions