summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2024-11-23 00:44:15 +0100
committerConrad Kostecki <conikost@gentoo.org>2024-11-24 00:32:58 +0100
commit2f5fc1cb62aada859e90353a8647dd4931ab91e3 (patch)
tree66ddedbf7d9b0b23ce687ed37726715781cc87d7 /games-simulation/openrct2
parentdev-libs/opencl-clang: add 15.0.1, 16.0.1, 17.0.1, 18.1.1 (diff)
downloadgentoo-2f5fc1cb62aada859e90353a8647dd4931ab91e3.tar.gz
gentoo-2f5fc1cb62aada859e90353a8647dd4931ab91e3.tar.bz2
gentoo-2f5fc1cb62aada859e90353a8647dd4931ab91e3.zip
games-simulation/openrct2: fix build
Closes: https://bugs.gentoo.org/943038 Closes: https://bugs.gentoo.org/941519 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'games-simulation/openrct2')
-rw-r--r--games-simulation/openrct2/files/openrct2-0.4.16-tileelement.patch10
-rw-r--r--games-simulation/openrct2/openrct2-0.4.16.ebuild1
2 files changed, 11 insertions, 0 deletions
diff --git a/games-simulation/openrct2/files/openrct2-0.4.16-tileelement.patch b/games-simulation/openrct2/files/openrct2-0.4.16-tileelement.patch
new file mode 100644
index 000000000000..431a0660524d
--- /dev/null
+++ b/games-simulation/openrct2/files/openrct2-0.4.16-tileelement.patch
@@ -0,0 +1,10 @@
+--- OpenRCT2-0.4.16/src/openrct2/ride/RideRatings.cpp.orig 2024-11-10 09:48:55.356964603 +0100
++++ OpenRCT2-0.4.16/src/openrct2/ride/RideRatings.cpp 2024-11-10 09:50:34.049333283 +0100
+@@ -23,6 +23,7 @@
+ #include "../world/tile_element/PathElement.h"
+ #include "../world/tile_element/SurfaceElement.h"
++#include "../world/tile_element/TileElement.h"
+ #include "../world/tile_element/TrackElement.h"
+ #include "Ride.h"
+ #include "RideData.h"
+ #include "Station.h"
diff --git a/games-simulation/openrct2/openrct2-0.4.16.ebuild b/games-simulation/openrct2/openrct2-0.4.16.ebuild
index c15629877f5a..378331630e73 100644
--- a/games-simulation/openrct2/openrct2-0.4.16.ebuild
+++ b/games-simulation/openrct2/openrct2-0.4.16.ebuild
@@ -79,6 +79,7 @@ BDEPEND="
PATCHES=(
"${FILESDIR}/${PN}-0.4.1-gtest-1.10.patch"
"${FILESDIR}/${PN}-0.4.16-include-additional-paths.patch"
+ "${FILESDIR}/${PN}-0.4.16-tileelement.patch"
)
src_unpack() {