summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-fps')
-rw-r--r--games-fps/eduke32/eduke32-20220204.9957.ebuild3
-rw-r--r--games-fps/eduke32/files/eduke32-20220204.9957-log-to-tmpdir.patch11
-rw-r--r--games-fps/eduke32/files/eduke32-20220204.9957-osd-setparameters.patch11
3 files changed, 24 insertions, 1 deletions
diff --git a/games-fps/eduke32/eduke32-20220204.9957.ebuild b/games-fps/eduke32/eduke32-20220204.9957.ebuild
index c177f758e1a0..ed27b1dc402c 100644
--- a/games-fps/eduke32/eduke32-20220204.9957.ebuild
+++ b/games-fps/eduke32/eduke32-20220204.9957.ebuild
@@ -77,9 +77,10 @@ BDEPEND="
PDEPEND="duke3d? ( games-fps/duke3d-data )"
PATCHES=(
- "${FILESDIR}/${PN}-20190820.8043-log-to-tmpdir.patch"
"${FILESDIR}/${PN}-20190820.8043-search-duke3d-path.patch"
"${FILESDIR}/${PN}-20200505.8904-gcc10.patch"
+ "${FILESDIR}/${PN}-20220204.9957-log-to-tmpdir.patch"
+ "${FILESDIR}/${PN}-20220204.9957-osd-setparameters.patch"
)
src_unpack() {
diff --git a/games-fps/eduke32/files/eduke32-20220204.9957-log-to-tmpdir.patch b/games-fps/eduke32/files/eduke32-20220204.9957-log-to-tmpdir.patch
new file mode 100644
index 000000000000..5296f0ac71a9
--- /dev/null
+++ b/games-fps/eduke32/files/eduke32-20220204.9957-log-to-tmpdir.patch
@@ -0,0 +1,11 @@
+--- a/source/sw/src/game.cpp
++++ b/source/sw/src/game.cpp
+@@ -3467,7 +3467,7 @@
+ }
+ else
+ #endif
+- OSD_SetLogFile(APPBASENAME ".log");
++ OSD_SetLogFile("/tmp/" APPBASENAME ".log");
+
+ wm_setapptitle(APPNAME);
+
diff --git a/games-fps/eduke32/files/eduke32-20220204.9957-osd-setparameters.patch b/games-fps/eduke32/files/eduke32-20220204.9957-osd-setparameters.patch
new file mode 100644
index 000000000000..b302ac94afa6
--- /dev/null
+++ b/games-fps/eduke32/files/eduke32-20220204.9957-osd-setparameters.patch
@@ -0,0 +1,11 @@
+--- a/source/sw/src/jnstub.cpp
++++ b/source/sw/src/jnstub.cpp
+@@ -731,7 +731,7 @@
+ //LogUserTime(TRUE); // Send true because user is logging
+ // in.
+
+- OSD_SetParameters(0, 0, 0, 4, 2, 4, "^14", "^14", 0);
++ OSD_SetParameters(0, 0, 0, 4, 2, 4, "^14", "^14", "^14", 0);
+
+ SW_ExtInit();
+