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:   wiz
Date:           Sun Apr 14 08:48:21 UTC 2024

Modified Files:
        pkgsrc/games/openrct2: distinfo
Added Files:
        pkgsrc/games/openrct2/patches: patch-src_openrct2_core_String.cpp

Log Message:
openrct2: fix build

avoid including alloca.h except on Linux


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 pkgsrc/games/openrct2/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/games/openrct2/patches/patch-src_openrct2_core_String.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/distinfo
diff -u pkgsrc/games/openrct2/distinfo:1.26 pkgsrc/games/openrct2/distinfo:1.27
--- pkgsrc/games/openrct2/distinfo:1.26 Wed Mar 27 05:16:32 2024
+++ pkgsrc/games/openrct2/distinfo      Sun Apr 14 08:48:21 2024
@@ -1,9 +1,10 @@
-$NetBSD: distinfo,v 1.26 2024/03/27 05:16:32 triaxx Exp $
+$NetBSD: distinfo,v 1.27 2024/04/14 08:48:21 wiz Exp $
 
 BLAKE2s (openrct2-0.4.9.tar.gz) = a6875c6165da8e27dc79930d785e9b409487f9e4899986ce7f72c28bb51aa994
 SHA512 (openrct2-0.4.9.tar.gz) = 711254007f8ed7377d6ceedcedf6e75d5a07033844dba891cc5c1f457d60a45ae4430d57f17624a5dce6d157d7ed269d235c53eedd46d58c433791d749953d85
 Size (openrct2-0.4.9.tar.gz) = 21819673 bytes
 SHA1 (patch-src_openrct2-ui_title_TitleSequencePlayer.cpp) = 35a4ee2a47fe6f5bfd536e199a369361cb1b12fa
+SHA1 (patch-src_openrct2_core_String.cpp) = 1f267259473287853a74a0a4d888f05f6e3aaab4
 SHA1 (patch-src_openrct2_platform_Platform.Posix.cpp) = 9c052c55489cd2bb4e0f50a71c7cd48f29d3887b
 SHA1 (patch-src_openrct2_platform_Platform.h) = bfac1159b28a0ba37b2cb1a5f1be8729aba03cb8
 SHA1 (patch-src_openrct2_platform_Platform.macOS.mm) = 63d05c611909b6db778a9feeaaac16ac9bb450b7

Added files:

Index: pkgsrc/games/openrct2/patches/patch-src_openrct2_core_String.cpp
diff -u /dev/null pkgsrc/games/openrct2/patches/patch-src_openrct2_core_String.cpp:1.1
--- /dev/null   Sun Apr 14 08:48:21 2024
+++ pkgsrc/games/openrct2/patches/patch-src_openrct2_core_String.cpp    Sun Apr 14 08:48:21 2024
@@ -0,0 +1,16 @@
+$NetBSD: patch-src_openrct2_core_String.cpp,v 1.1 2024/04/14 08:48:21 wiz Exp $
+
+Only include alloca.h on Linux.
+
+--- src/openrct2/core/String.cpp.orig  2024-04-14 08:44:35.918265241 +0000
++++ src/openrct2/core/String.cpp
+@@ -15,7 +15,9 @@
+ #include <stdexcept>
+ #include <vector>
+ #ifndef _WIN32
++#ifdef __linux__
+ #    include <alloca.h>
++#endif
+ #    include <unicode/ucnv.h>
+ #    include <unicode/unistr.h>
+ #    include <unicode/utypes.h>



Home | Main Index | Thread Index | Old Index