summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2024-10-11 15:34:55 +0200
committerConrad Kostecki <conikost@gentoo.org>2024-10-11 15:34:55 +0200
commit892f2d911bd2385d68e84d1dd8e5e642dfd94211 (patch)
treecfd95be83115a12d156d7c051d6b900b4f146af5 /games-simulation
parentapp-misc/openhab-bin: add 4.2.2 (diff)
downloadgentoo-892f2d911bd2385d68e84d1dd8e5e642dfd94211.tar.gz
gentoo-892f2d911bd2385d68e84d1dd8e5e642dfd94211.tar.bz2
gentoo-892f2d911bd2385d68e84d1dd8e5e642dfd94211.zip
games-simulation/openrct2: add correct path patch
Closes: https://bugs.gentoo.org/941262 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'games-simulation')
-rw-r--r--games-simulation/openrct2/files/openrct2-0.4.15-include-additional-paths.patch17
-rw-r--r--games-simulation/openrct2/openrct2-0.4.15.ebuild2
-rw-r--r--games-simulation/openrct2/openrct2-9999.ebuild2
3 files changed, 19 insertions, 2 deletions
diff --git a/games-simulation/openrct2/files/openrct2-0.4.15-include-additional-paths.patch b/games-simulation/openrct2/files/openrct2-0.4.15-include-additional-paths.patch
new file mode 100644
index 000000000000..16d306260e67
--- /dev/null
+++ b/games-simulation/openrct2/files/openrct2-0.4.15-include-additional-paths.patch
@@ -0,0 +1,17 @@
+--- a/src/openrct2/platform/Platform.Linux.cpp
++++ b/src/openrct2/platform/Platform.Linux.cpp
+@@ -335,12 +335,12 @@
+
+ std::vector<std::string_view> GetSearchablePathsRCT1()
+ {
+- return {};
++ return { "/usr/share/openrct2/rct1_data" };
+ }
+
+ std::vector<std::string_view> GetSearchablePathsRCT2()
+ {
+- return {};
++ return { "/usr/share/openrct2/rct2_data" };
+ }
+
+ # ifndef NO_TTF
diff --git a/games-simulation/openrct2/openrct2-0.4.15.ebuild b/games-simulation/openrct2/openrct2-0.4.15.ebuild
index 2ce516a11c9a..efb5b081135e 100644
--- a/games-simulation/openrct2/openrct2-0.4.15.ebuild
+++ b/games-simulation/openrct2/openrct2-0.4.15.ebuild
@@ -77,8 +77,8 @@ BDEPEND="
"
PATCHES=(
- "${FILESDIR}/${PN}-0.4.0-include-additional-paths.patch"
"${FILESDIR}/${PN}-0.4.1-gtest-1.10.patch"
+ "${FILESDIR}/${PN}-0.4.15-include-additional-paths.patch"
)
src_unpack() {
diff --git a/games-simulation/openrct2/openrct2-9999.ebuild b/games-simulation/openrct2/openrct2-9999.ebuild
index 72f2a309f584..cc9b7bfd01b4 100644
--- a/games-simulation/openrct2/openrct2-9999.ebuild
+++ b/games-simulation/openrct2/openrct2-9999.ebuild
@@ -78,8 +78,8 @@ BDEPEND="
RESTRICT="!test? ( test )"
PATCHES=(
- "${FILESDIR}/${PN}-0.4.0-include-additional-paths.patch"
"${FILESDIR}/${PN}-0.4.1-gtest-1.10.patch"
+ "${FILESDIR}/${PN}-0.4.5-include-additional-paths.patch"
)
src_unpack() {