summaryrefslogtreecommitdiffstats
path: root/games/oblige/compile_fixes.diff
diff options
context:
space:
mode:
author B. Watson <yalhcru@gmail.com>2010-12-26 20:12:17 -0200
committer Niels Horn <niels.horn@slackbuilds.org>2010-12-27 19:22:52 -0200
commit8681eef4c25c82ca4310570cac2864c5bed005ef (patch)
treeac3afa2394782c12be6f5662ec5b5a73b194dbba /games/oblige/compile_fixes.diff
parent8a023d8ee857970e00303b9ecdad994c1a1cdc00 (diff)
downloadslackbuilds-8681eef4c25c82ca4310570cac2864c5bed005ef.tar.gz
slackbuilds-8681eef4c25c82ca4310570cac2864c5bed005ef.tar.xz
games/oblige: Added (random level generator for various games)
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'games/oblige/compile_fixes.diff')
-rw-r--r--games/oblige/compile_fixes.diff12
1 files changed, 12 insertions, 0 deletions
diff --git a/games/oblige/compile_fixes.diff b/games/oblige/compile_fixes.diff
new file mode 100644
index 0000000000..c8589e37e8
--- /dev/null
+++ b/games/oblige/compile_fixes.diff
@@ -0,0 +1,12 @@
+diff -Naur oblige_357_src/gui/q_bsp.cc oblige_357_src.patched//gui/q_bsp.cc
+--- oblige_357_src/gui/q_bsp.cc 2010-03-07 05:24:42.000000000 -0500
++++ oblige_357_src.patched//gui/q_bsp.cc 2010-12-17 18:24:48.000000000 -0500
+@@ -107,7 +107,7 @@
+ // convert each newline into CR/LF pair
+ while (*str)
+ {
+- char *next = strchr(str, '\n');
++ char *next = (char *)strchr(str, '\n');
+
+ Append(str, next ? (next - str) : strlen(str));
+