mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-05 12:38:09 -07:00
games-simulation/openrct2: add correct path patch
Closes: https://bugs.gentoo.org/941262 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
This commit is contained in:
@@ -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
|
||||
@@ -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() {
|
||||
|
||||
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user