summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-mud/mcl/files/mcl-0.53.00-glibc2.10.patch')
-rw-r--r--games-mud/mcl/files/mcl-0.53.00-glibc2.10.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/games-mud/mcl/files/mcl-0.53.00-glibc2.10.patch b/games-mud/mcl/files/mcl-0.53.00-glibc2.10.patch
new file mode 100644
index 000000000000..62bedb8b7c93
--- /dev/null
+++ b/games-mud/mcl/files/mcl-0.53.00-glibc2.10.patch
@@ -0,0 +1,11 @@
+--- plugins/PythonEmbeddedInterpreter.cc
++++ plugins/PythonEmbeddedInterpreter.cc
+@@ -132,7 +132,7 @@
+ bool PythonEmbeddedInterpreter::run_quietly(const char *file, const char *args,
+ char *result, bool suppress)
+ {
+- char *func = strrchr(file, '/');
++ char *func = strrchr((char *)file, '/');
+ char buf[256];
+
+ if(func) func++;