pkgsrc/games/openrct2/patches/patch-src_openrct2_platform_Posix.cpp
nia 950edd39e4 Add games/openrct2.
OpenRCT2 is an open source reimplementation of the game engine used by
RollerCoaster Tycoon 2 (RCT2).

The gameplay revolves around building and maintaining an amusement park
containing attractions, shops and facilities. The player must try to make
a profit and maintain a good park reputation whilst keeping the guests happy.

OpenRCT2 allows for both scenario and sandbox play. Scenarios require the
player to complete a certain objective in a set time limit whilst sandbox
allows the player to build a more flexible park with optionally no restrictions
or finance.

OpenRCT2 requires a copy of RollerCoaster Tycoon 2 to play.
2019-11-17 16:19:57 +00:00

15 lines
643 B
C++

$NetBSD: patch-src_openrct2_platform_Posix.cpp,v 1.1 2019/11/17 16:19:57 nia Exp $
Support NetBSD.
--- src/openrct2/platform/Posix.cpp.orig 2019-10-28 20:18:47.000000000 +0000
+++ src/openrct2/platform/Posix.cpp
@@ -7,7 +7,7 @@
* OpenRCT2 is licensed under the GNU General Public License version 3.
*****************************************************************************/
-#if defined(__unix__) || (defined(__APPLE__) && defined(__MACH__)) || defined(__FreeBSD__)
+#if defined(__unix__) || (defined(__APPLE__) && defined(__MACH__)) || defined(__FreeBSD__) || defined(__NetBSD__)
# include <cstring>
# include <ctype.h>