summaryrefslogtreecommitdiff
path: root/games-fps/eduke32/files/log-to-tmpdir.patch
diff options
context:
space:
mode:
Diffstat (limited to 'games-fps/eduke32/files/log-to-tmpdir.patch')
-rw-r--r--games-fps/eduke32/files/log-to-tmpdir.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/games-fps/eduke32/files/log-to-tmpdir.patch b/games-fps/eduke32/files/log-to-tmpdir.patch
new file mode 100644
index 000000000000..24cec1b00af1
--- /dev/null
+++ b/games-fps/eduke32/files/log-to-tmpdir.patch
@@ -0,0 +1,11 @@
+--- a/source/duke3d/src/game.cpp 2018-05-08 19:32:19.000000000 +0200
++++ b/source/duke3d/src/game.cpp 2018-05-10 23:46:21.540213019 +0200
+@@ -6234,7 +6234,7 @@
+ }
+ else
+ #endif
+- OSD_SetLogFile(APPBASENAME ".log");
++ OSD_SetLogFile("/tmp/" APPBASENAME ".log");
+
+ OSD_SetFunctions(GAME_drawosdchar,
+ GAME_drawosdstr,