pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/games/openrct2
Module Name: pkgsrc
Committed By: triaxx
Date: Sat Jul 22 10:55:16 UTC 2023
Modified Files:
pkgsrc/games/openrct2: Makefile PLIST distinfo
pkgsrc/games/openrct2/patches: patch-src_openrct2_CMakeLists.txt
patch-src_openrct2_common.h patch-src_openrct2_platform_Platform2.h
patch-src_openrct2_util_Util.cpp
Added Files:
pkgsrc/games/openrct2/patches:
patch-src_openrct2_platform_Platform.Linux.cpp
Log Message:
openrct2: Update to 0.3.0
upstream changes:
-----------------
0.3.0 (2020-08-15)
------------------------------------------------------------------------
- Feature: [#7648] "Enable all drawable track pieces" now enables more pieces for the Twister, Vertical and Air Powered Vertical coasters.
- Feature: [#9029] Open doors with the tile inspector.
- Feature: [#9614] Allow popping balloons and quacking ducks in the title screen.
- Feature: [#10572] Cheat to allow building at invalid heights.
- Feature: [#11155] Guest entry points can now be removed by clicking them again.
- Feature: [#11231] Change shortcut window list order to be more intuitive, and split it into logical sections.
- Feature: [#11298] Custom IP address can now be advertised to the master server to work around IPv6 issues.
- Feature: [#11306] Path additions are now kept when replacing the path.
- Feature: [#11320] Support for custom JavaScript plugins.
- Feature: [#11422] Added a shortcut key for disabling/enabling clearance checks.
- Feature: [#11788] Command to extract images from a .DAT file.
- Feature: [#11959] Hacked go-kart tracks can now use 2x2 bends, 3x3 bends and S-bends.
- Feature: [#12090] Boosters for the Wooden Roller Coaster (if the "Show all track pieces" cheat is enabled).
- Feature: [#12184] .sea (RCT Classic) scenario files can now be imported.
- Feature: [#12347] Periodically check for new releases on GitHub, and show a notification on the title screen.
- Feature: [#12347] The 'About OpenRCT2' window now has a link to the OpenRCT2 Discord Server.
- Feature: [#12591] Show authors of an object on the object selection dialog.
- Change: [#11209] Warn when user is running OpenRCT2 through Wine.
- Change: [#11358] Switch copy and paste button positions in tile inspector.
- Change: [#11449] Remove complete circuit requirement from Air Powered Vertical Coaster (for RCT1 parity).
- Change: [#11898] The `openrct-data-path` command-line argument has been renamed to `openrct2-data-path`.
- Change: [#11944] The ride list sort mode is now remembered for the duration of the game.
- Fix: [#1013] Negative length displayed in Ride window.
- Fix: [#1148] Research funding dropdown not shown in finances window.
- Fix: [#5451] Guests scream on every descent, no matter how small.
- Fix: [#6119] Advertising campaign for ride window not updated properly (original bug).
- Fix: [#7006] Submarine Ride is in the wrong research group.
- Fix: [#7324] Research window shows vehicle name instead of ride name.
- Fix: [#7969, #8175, #12501] When loading a landscape in the Scenario Editor, the inventions list, financial settings and objective settings are reset.
- Fix: [#10549] 'Build the best ride you can' objective missing ride name.
- Fix: [#10634] Guests are unable to use uphill paths out of toilets.
- Fix: [#10751] Saved mazes are incomplete.
- Fix: [#10876] When removing a path, its guest entry point is not removed.
- Fix: [#10876] There can be multiple peep spawns on the same location.
- Fix: [#11002] Rides list shows both red and green light activated.
- Fix: [#11072] Land and water tools working out of bounds (original bug).
- Fix: [#11085] Handle player list before game actions during map load.
- Fix: [#11259] Custom JSON object breaks saves.
- Fix: [#11290] Perform funds checking for all peeps entering a ride.
- Fix: [#11315] Ride that has never opened is shown as favorite ride of many guests.
- Fix: [#11386] Alphabetical sorting is broken.
- Fix: [#11405] Building a path through walls does not always remove the walls.
- Fix: [#11450] Rides with unsuitable track can't be opened even with "Enable all drawable track pieces" cheat.
- Fix: [#11455] Object Selection window cuts off scenery names.
- Fix: [#11623] Erratic zoom behavior when pointing outside of the map.
- Fix: [#11640] Objects with a blank description in one language do not fall back to other languages anymore.
- Fix: [#11676] Spiral Roller Coaster has regular lift hill available.
- Fix: [#11695] Mechanics walk to tile 0, 0 at entrance only stations when trying to fix them.
- Fix: [#11804] Some RCT1 fences are imported at the wrong height.
- Fix: [#11953] Incorrect banner text shade colour on wall text.
- Fix: [#11968] Maze height is higher than it should be.
- Fix: [#12062] Inconsistent lift hill sprites on Flying Coaster while inverted (original bug).
- Fix: [#12068] Incorrect Entrance/Exit location on track design preview. Incorrect track design previews with track that contain diagonal track elements.
- Fix: [#12071] Crash in Guest List when a guest dies.
- Fix: [#12093] Staff window tab animation was no longer updating.
- Fix: [#12123] Long server descriptions are not cut off properly.
- Fix: [#12211] Map Generator shows incorrect map sizes (e.g. "150 x 0").
- Fix: [#12221] Map Generation tool doesn't place any trees.
- Fix: [#12285] On-ride photo profit assumes every guest buys one.
- Fix: [#12297] OpenGL renderer causing artifacts.
- Fix: [#12308] Cannot use cheats in editor modes.
- Fix: [#12312] Softlock when loading save file via command line fails.
- Fix: [#12486] `set-rct2` has a broken g1.dat check.
- Fix: [#12498] Circus construction ghost does not rotate (original bug).
- Fix: [#12505] Stores selling multiple items can only have the first product advertised.
- Fix: [#12506] Cannot advertise food if there are no rides in the park.
- Fix: [#12533] Track designs list does not use natural sorting.
- Fix: [#12611] 'Monthly Income from ride tickets' in Scenario Editor is removed when park is not free entry.
- Fix: 'j' character has broken kerning (original bug).
- Fix: RCT1 scenarios have more items in the object list than are present in the park or the research list.
- Fix: Brakes keep working during "Brakes failure".
- Fix: Guests maze pathfinding prefers a specific direction (original bug).
- Improved: [#6530] Allow water and land height changes on park borders.
- Improved: [#11390] Build hash written to screenshot metadata.
- Improved: [#3205] Make handymen less likely to get stuck in ride queues.
- Technical: [#8110] OpenRCT2 now uses a single directory name for title sequences instead of three.
- Technical: [#11517] Windows Vista is supported again (libzip regression in the previous release).
- Technical: The required version of macOS has been increased to 10.14 (Mojave) for plugin support.
- Removed: [#11820] Twitch support (relied on a server that has been down for a few years).
To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 pkgsrc/games/openrct2/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/games/openrct2/PLIST
cvs rdiff -u -r1.8 -r1.9 pkgsrc/games/openrct2/distinfo
cvs rdiff -u -r1.3 -r1.4 \
pkgsrc/games/openrct2/patches/patch-src_openrct2_CMakeLists.txt \
pkgsrc/games/openrct2/patches/patch-src_openrct2_common.h
cvs rdiff -u -r0 -r1.3 \
pkgsrc/games/openrct2/patches/patch-src_openrct2_platform_Platform.Linux.cpp
cvs rdiff -u -r1.2 -r1.3 \
pkgsrc/games/openrct2/patches/patch-src_openrct2_platform_Platform2.h \
pkgsrc/games/openrct2/patches/patch-src_openrct2_util_Util.cpp
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/games/openrct2/Makefile
diff -u pkgsrc/games/openrct2/Makefile:1.31 pkgsrc/games/openrct2/Makefile:1.32
--- pkgsrc/games/openrct2/Makefile:1.31 Sat Jul 22 02:15:16 2023
+++ pkgsrc/games/openrct2/Makefile Sat Jul 22 10:55:16 2023
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.31 2023/07/22 02:15:16 triaxx Exp $
+# $NetBSD: Makefile,v 1.32 2023/07/22 10:55:16 triaxx Exp $
-DISTNAME= openrct2-0.2.6
+DISTNAME= openrct2-0.3.0
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_GITHUB:=OpenRCT2/}
GITHUB_PROJECT= OpenRCT2
@@ -15,10 +15,11 @@ USE_CMAKE= yes
USE_TOOLS+= pkg-config
USE_LANGUAGES= c c++17
-GCC_REQD+= 9
-USE_CXX_FEATURES+= c++17 filesystem
+# C++17
+GCC_REQD+= 9
CMAKE_ARGS+= -DCMAKE_BUILD_TYPE="Release"
+CMAKE_ARGS+= -DENABLE_SCRIPTING=OFF
CXXFLAGS+= -DORCT2_RESOURCE_DIR=\"${PREFIX}/share/openrct2\"
@@ -38,6 +39,12 @@ BUILDLINK_TRANSFORM+= rm:-Werror
# status: [6;"Couldn't resolve host name"]
#
+SUBST_CLASSES+= doc
+SUBST_STAGE.doc= pre-configure
+SUBST_MESSAGE.doc= Fixing documentation path.
+SUBST_FILES.doc= src/openrct2/platform/Platform.Linux.cpp
+SUBST_VARS.doc= PREFIX
+
pre-configure:
${MKDIR} ${WRKSRC}/build
Index: pkgsrc/games/openrct2/PLIST
diff -u pkgsrc/games/openrct2/PLIST:1.3 pkgsrc/games/openrct2/PLIST:1.4
--- pkgsrc/games/openrct2/PLIST:1.3 Sat Jul 22 02:15:16 2023
+++ pkgsrc/games/openrct2/PLIST Sat Jul 22 10:55:16 2023
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2023/07/22 02:15:16 triaxx Exp $
+@comment $NetBSD: PLIST,v 1.4 2023/07/22 10:55:16 triaxx Exp $
bin/openrct2
bin/openrct2-cli
lib/libopenrct2.a
@@ -10,7 +10,9 @@ share/applications/openrct2.desktop
share/doc/openrct2/changelog.txt
share/doc/openrct2/contributors.md
share/doc/openrct2/licence.txt
+share/doc/openrct2/openrct2.d.ts
share/doc/openrct2/readme.txt
+share/doc/openrct2/scripting.md
share/icons/hicolor/128x128/apps/openrct2.png
share/icons/hicolor/16x16/apps/openrct2.png
share/icons/hicolor/24x24/apps/openrct2.png
@@ -47,11 +49,18 @@ share/openrct2/language/tr-TR.txt
share/openrct2/language/zh-CN.txt
share/openrct2/language/zh-TW.txt
share/openrct2/object/official/footpath_item/rct2.dlc.litterpa.parkobj
+share/openrct2/object/official/ride/rct2.dlc.zpanda.parkobj
+share/openrct2/object/official/scenery_group/rct2.dlc.scgpanda.parkobj
+share/openrct2/object/official/scenery_small/official.ttrftl02.parkobj
+share/openrct2/object/official/scenery_small/official.ttrftl03.parkobj
+share/openrct2/object/official/scenery_small/official.ttrftl04.parkobj
+share/openrct2/object/official/scenery_small/official.ttrftl07.parkobj
+share/openrct2/object/official/scenery_small/official.ttrftl08.parkobj
+share/openrct2/object/official/scenery_small/official.xxbbbr01.parkobj
share/openrct2/object/official/scenery_small/rct2.dlc.bigpanda.parkobj
share/openrct2/object/official/scenery_small/rct2.dlc.pandagr.parkobj
share/openrct2/object/official/station/openrct2.station.noentrance.json
-share/openrct2/object/official/station/openrct2.station.noplatformnoentrance.json
-share/openrct2/object/official/terrain/openrct2.terrain.void.parkobj
+share/openrct2/object/official/wall/official.mg-prar.parkobj
share/openrct2/object/official/water/rct2.dlc.wtrpink.json
share/openrct2/object/rct1/terrain_edge/rct1.aa.edge.grey.parkobj
share/openrct2/object/rct1/terrain_edge/rct1.aa.edge.red.parkobj
@@ -64,10 +73,6 @@ share/openrct2/object/rct1/terrain_edge/
share/openrct2/object/rct1/terrain_edge/rct1.ll.edge.skyscraperb.parkobj
share/openrct2/object/rct1/terrain_edge/rct1.ll.edge.stonebrown.parkobj
share/openrct2/object/rct1/terrain_edge/rct1.ll.edge.stonegrey.parkobj
-share/openrct2/object/rct1/terrain_surface/rct1.aa.surface.roofred.parkobj
-share/openrct2/object/rct1/terrain_surface/rct1.ll.surface.roofgrey.parkobj
-share/openrct2/object/rct1/terrain_surface/rct1.ll.surface.rust.parkobj
-share/openrct2/object/rct1/terrain_surface/rct1.ll.surface.wood.parkobj
share/openrct2/object/rct2/footpath/rct2.pathash.json
share/openrct2/object/rct2/footpath/rct2.pathcrzy.json
share/openrct2/object/rct2/footpath/rct2.pathdirt.json
@@ -2150,6 +2155,11 @@ share/openrct2/object/rct2ww/scenery_wal
share/openrct2/object/rct2ww/scenery_wall/rct2.ww.wwind04.json
share/openrct2/object/rct2ww/scenery_wall/rct2.ww.wwind05.json
share/openrct2/object/rct2ww/scenery_wall/rct2.ww.wwind06.json
+share/openrct2/sequence/openrct2.parkseq
+share/openrct2/sequence/rct1.parkseq
+share/openrct2/sequence/rct1aa.parkseq
+share/openrct2/sequence/rct1aall.parkseq
+share/openrct2/sequence/rct2.parkseq
share/openrct2/shaders/applypalette.frag
share/openrct2/shaders/applypalette.vert
share/openrct2/shaders/applytransparency.frag
@@ -2158,8 +2168,3 @@ share/openrct2/shaders/drawline.frag
share/openrct2/shaders/drawline.vert
share/openrct2/shaders/drawrect.frag
share/openrct2/shaders/drawrect.vert
-share/openrct2/title/openrct2.parkseq
-share/openrct2/title/rct1.parkseq
-share/openrct2/title/rct1aa.parkseq
-share/openrct2/title/rct1aall.parkseq
-share/openrct2/title/rct2.parkseq
Index: pkgsrc/games/openrct2/distinfo
diff -u pkgsrc/games/openrct2/distinfo:1.8 pkgsrc/games/openrct2/distinfo:1.9
--- pkgsrc/games/openrct2/distinfo:1.8 Sat Jul 22 02:15:16 2023
+++ pkgsrc/games/openrct2/distinfo Sat Jul 22 10:55:16 2023
@@ -1,11 +1,12 @@
-$NetBSD: distinfo,v 1.8 2023/07/22 02:15:16 triaxx Exp $
+$NetBSD: distinfo,v 1.9 2023/07/22 10:55:16 triaxx Exp $
-BLAKE2s (openrct2-0.2.6.tar.gz) = ebf606cb7bac239ed2c137c14eca364c3ae4bfa96944921781eff3ace486da12
-SHA512 (openrct2-0.2.6.tar.gz) = abe7c344b7588b169c95ffe0ab9028f72614d9b5783d81fa4f97f206d90d8cbaa0b91f04314c10926dbd5f68bba166558c428557f598abb343d306800611fb24
-Size (openrct2-0.2.6.tar.gz) = 11094308 bytes
+BLAKE2s (openrct2-0.3.0.tar.gz) = a2f6d83bb7a4155c87051e6747b6e7b8ab399a24a7144ce50ff85ba74abedbd1
+SHA512 (openrct2-0.3.0.tar.gz) = 585bcd7a077114dc5332b95cb44f7c689e47fcbd7cff7c2ab32a24253a4fd87f50e79f40f9428c79ea6bc6d8cd88019b4edfce88509c03bc2d43854926d21317
+Size (openrct2-0.3.0.tar.gz) = 11754657 bytes
SHA1 (patch-src_openrct2-ui_title_TitleSequencePlayer.cpp) = 35a4ee2a47fe6f5bfd536e199a369361cb1b12fa
-SHA1 (patch-src_openrct2_CMakeLists.txt) = 174dfe359939980347082a9bae7b505680d0f900
-SHA1 (patch-src_openrct2_common.h) = 32bb78f825307e59067f365b7af2484c69ca4b97
-SHA1 (patch-src_openrct2_platform_Platform2.h) = 6615ab04abccfe6e00fac3f779dd25ff17041a7c
+SHA1 (patch-src_openrct2_CMakeLists.txt) = ddd579719c50c859ee4193791c028c9ba99a637d
+SHA1 (patch-src_openrct2_common.h) = e041bf7afab0d400b0860811e21bdc35503de573
+SHA1 (patch-src_openrct2_platform_Platform.Linux.cpp) = d8ddd15b91baff6041b4bd85ca8ea3dd6742b6c3
+SHA1 (patch-src_openrct2_platform_Platform2.h) = 9d97308addb5995a430244fc04aa961f8ca0deaa
SHA1 (patch-src_openrct2_platform_Posix.cpp) = 103299bf299ccc347154ebad5d8ca1b1f26a34e3
SHA1 (patch-src_openrct2_util_Util.cpp) = aaebb6b69cdb560a6db44fc8acc19bf23c576801
Index: pkgsrc/games/openrct2/patches/patch-src_openrct2_CMakeLists.txt
diff -u pkgsrc/games/openrct2/patches/patch-src_openrct2_CMakeLists.txt:1.3 pkgsrc/games/openrct2/patches/patch-src_openrct2_CMakeLists.txt:1.4
--- pkgsrc/games/openrct2/patches/patch-src_openrct2_CMakeLists.txt:1.3 Sat Jul 22 02:15:16 2023
+++ pkgsrc/games/openrct2/patches/patch-src_openrct2_CMakeLists.txt Sat Jul 22 10:55:16 2023
@@ -1,16 +1,16 @@
-$NetBSD: patch-src_openrct2_CMakeLists.txt,v 1.3 2023/07/22 02:15:16 triaxx Exp $
+$NetBSD: patch-src_openrct2_CMakeLists.txt,v 1.4 2023/07/22 10:55:16 triaxx Exp $
GCC 9 does not require linking with -lstdc++fs to use types and functions in
<filesystem> now (https://gcc.gnu.org/gcc-9/changes.html).
---- src/openrct2/CMakeLists.txt.orig 2020-04-17 14:13:30.000000000 +0000
+--- src/openrct2/CMakeLists.txt.orig 2020-08-15 19:13:50.000000000 +0000
+++ src/openrct2/CMakeLists.txt
@@ -22,13 +22,6 @@ add_library(${PROJECT_NAME} ${OPENRCT2_C
set_target_properties(${PROJECT_NAME} PROPERTIES PREFIX "")
SET_CHECK_CXX_FLAGS(${PROJECT_NAME})
-# GCC / Clang likes us to pass the -lstdc++fs flag to link C++17 filesystem implementation.
--if (NOT MINGW AND NOT ${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD")
+-if (NOT MINGW AND NOT ${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD" AND NOT ${CMAKE_SYSTEM_NAME} MATCHES "OpenBSD")
- if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU" OR CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
- target_link_libraries(${PROJECT_NAME} stdc++fs)
- endif()
Index: pkgsrc/games/openrct2/patches/patch-src_openrct2_common.h
diff -u pkgsrc/games/openrct2/patches/patch-src_openrct2_common.h:1.3 pkgsrc/games/openrct2/patches/patch-src_openrct2_common.h:1.4
--- pkgsrc/games/openrct2/patches/patch-src_openrct2_common.h:1.3 Sat Jul 22 02:15:16 2023
+++ pkgsrc/games/openrct2/patches/patch-src_openrct2_common.h Sat Jul 22 10:55:16 2023
@@ -1,19 +1,19 @@
-$NetBSD: patch-src_openrct2_common.h,v 1.3 2023/07/22 02:15:16 triaxx Exp $
+$NetBSD: patch-src_openrct2_common.h,v 1.4 2023/07/22 10:55:16 triaxx Exp $
Take a stab at supporting big-endian ports.
---- src/openrct2/common.h.orig 2020-04-17 14:13:30.000000000 +0000
+--- src/openrct2/common.h.orig 2020-08-15 19:13:50.000000000 +0000
+++ src/openrct2/common.h
-@@ -92,6 +92,12 @@ namespace
- # define HIBYTE(w) ((uint8_t)(((uint16_t)(w) >> 8) & 0xFF))
+@@ -91,6 +91,12 @@ namespace
+ # define LOBYTE(w) (static_cast<uint8_t>(w))
+ # define HIBYTE(w) (static_cast<uint8_t>((static_cast<uint16_t>(w) >> 8) & 0xFF))
# endif // __BYTE_ORDER__
-
++
+# if __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__
+# define RCT2_ENDIANESS __ORDER_BIG_ENDIAN__
-+# define LOBYTE(w) ((uint8_t)(((uint16_t)(w) >> 8) & 0xFF))
-+# define HIBYTE(w) ((uint8_t)(w))
++# define LOBYTE(w) (static_cast<uint8_t>((static_cast<uint16_t>(w) >> 8) & 0xFF))
++# define HIBYTE(w) (static_cast<uint8_t>(w))
+# endif
-+
+
# ifndef RCT2_ENDIANESS
# error Unknown endianess!
- # endif // RCT2_ENDIANESS
Index: pkgsrc/games/openrct2/patches/patch-src_openrct2_platform_Platform2.h
diff -u pkgsrc/games/openrct2/patches/patch-src_openrct2_platform_Platform2.h:1.2 pkgsrc/games/openrct2/patches/patch-src_openrct2_platform_Platform2.h:1.3
--- pkgsrc/games/openrct2/patches/patch-src_openrct2_platform_Platform2.h:1.2 Sat Jul 22 02:15:16 2023
+++ pkgsrc/games/openrct2/patches/patch-src_openrct2_platform_Platform2.h Sat Jul 22 10:55:16 2023
@@ -1,12 +1,12 @@
-$NetBSD: patch-src_openrct2_platform_Platform2.h,v 1.2 2023/07/22 02:15:16 triaxx Exp $
+$NetBSD: patch-src_openrct2_platform_Platform2.h,v 1.3 2023/07/22 10:55:16 triaxx Exp $
Support NetBSD.
---- src/openrct2/platform/Platform2.h.orig 2020-04-17 14:13:30.000000000 +0000
+--- src/openrct2/platform/Platform2.h.orig 2020-08-15 19:13:50.000000000 +0000
+++ src/openrct2/platform/Platform2.h
-@@ -33,7 +33,7 @@ namespace Platform
- std::string GetDocsPath();
- std::string GetCurrentExecutablePath();
+@@ -37,7 +37,7 @@ namespace Platform
+ rct2_time GetTimeLocal();
+ rct2_date GetDateLocal();
-#if defined(__unix__) || (defined(__APPLE__) && defined(__MACH__)) || defined(__FreeBSD__)
+#if defined(__unix__) || (defined(__APPLE__) && defined(__MACH__)) || defined(__FreeBSD__) || defined(__NetBSD__)
Index: pkgsrc/games/openrct2/patches/patch-src_openrct2_util_Util.cpp
diff -u pkgsrc/games/openrct2/patches/patch-src_openrct2_util_Util.cpp:1.2 pkgsrc/games/openrct2/patches/patch-src_openrct2_util_Util.cpp:1.3
--- pkgsrc/games/openrct2/patches/patch-src_openrct2_util_Util.cpp:1.2 Sat Jul 22 02:15:16 2023
+++ pkgsrc/games/openrct2/patches/patch-src_openrct2_util_Util.cpp Sat Jul 22 10:55:16 2023
@@ -1,4 +1,4 @@
-$NetBSD: patch-src_openrct2_util_Util.cpp,v 1.2 2023/07/22 02:15:16 triaxx Exp $
+$NetBSD: patch-src_openrct2_util_Util.cpp,v 1.3 2023/07/22 10:55:16 triaxx Exp $
Support NetBSD.
Added files:
Index: pkgsrc/games/openrct2/patches/patch-src_openrct2_platform_Platform.Linux.cpp
diff -u /dev/null pkgsrc/games/openrct2/patches/patch-src_openrct2_platform_Platform.Linux.cpp:1.3
--- /dev/null Sat Jul 22 10:55:16 2023
+++ pkgsrc/games/openrct2/patches/patch-src_openrct2_platform_Platform.Linux.cpp Sat Jul 22 10:55:16 2023
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_openrct2_platform_Platform.Linux.cpp,v 1.3 2023/07/22 10:55:16 triaxx Exp $
+
+Support pkgsrc.
+
+--- src/openrct2/platform/Platform.Linux.cpp.orig 2020-08-15 19:13:50.000000000 +0000
++++ src/openrct2/platform/Platform.Linux.cpp
+@@ -55,7 +55,7 @@ namespace Platform
+ {
+ static const utf8* searchLocations[] = {
+ "./doc",
+- "/usr/share/doc/openrct2",
++ "@PREFIX@/share/doc/openrct2",
+ };
+ for (auto searchLocation : searchLocations)
+ {
Home |
Main Index |
Thread Index |
Old Index