aboutsummaryrefslogtreecommitdiff
path: root/games/KoboDeluxe/kobodeluxe-0.5.1-glibc2.10.patch
diff options
context:
space:
mode:
Diffstat (limited to 'games/KoboDeluxe/kobodeluxe-0.5.1-glibc2.10.patch')
-rw-r--r--games/KoboDeluxe/kobodeluxe-0.5.1-glibc2.10.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/games/KoboDeluxe/kobodeluxe-0.5.1-glibc2.10.patch b/games/KoboDeluxe/kobodeluxe-0.5.1-glibc2.10.patch
new file mode 100644
index 0000000000000..1095cc1c73305
--- /dev/null
+++ b/games/KoboDeluxe/kobodeluxe-0.5.1-glibc2.10.patch
@@ -0,0 +1,11 @@
+--- graphics/window.cpp
++++ graphics/window.cpp
+@@ -398,7 +398,7 @@
+ */
+ if(token)
+ {
+- char *tok = strchr(txt, token);
++ const char *tok = strchr(txt, token);
+ if(tok)
+ tokpos = tok-txt;
+ else