diff options
author | Conrad Kostecki <conikost@gentoo.org> | 2022-02-11 15:43:19 +0100 |
---|---|---|
committer | Conrad Kostecki <conikost@gentoo.org> | 2022-02-11 15:43:53 +0100 |
commit | 84f5330502d84aed65712c86814a3053ab6c558e (patch) | |
tree | 3086cb8fb1a152dcb67ff65f74183f1beb5bcd73 /games-fps | |
parent | sys-apps/nvme-cli: musl build fix deux (diff) | |
download | gentoo-84f5330502d84aed65712c86814a3053ab6c558e.tar.gz gentoo-84f5330502d84aed65712c86814a3053ab6c558e.tar.bz2 gentoo-84f5330502d84aed65712c86814a3053ab6c558e.zip |
games-fps/eduke32: fix compilation
Closes: https://bugs.gentoo.org/833101
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'games-fps')
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(); + |