pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/games/openrct2 openrct2: Fix compilation on NetBSD/cur...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/aeae6a737743
branches:  trunk
changeset: 769182:aeae6a737743
user:      nia <nia%pkgsrc.org@localhost>
date:      Tue Nov 09 11:36:08 2021 +0000

description:
openrct2: Fix compilation on NetBSD/current.

diffstat:

 games/openrct2/distinfo                                                    |   3 +-
 games/openrct2/patches/patch-src_openrct2-ui_title_TitleSequencePlayer.cpp |  15 ++++++++++
 2 files changed, 17 insertions(+), 1 deletions(-)

diffs (34 lines):

diff -r 2d9bff785be7 -r aeae6a737743 games/openrct2/distinfo
--- a/games/openrct2/distinfo   Tue Nov 09 11:32:39 2021 +0000
+++ b/games/openrct2/distinfo   Tue Nov 09 11:36:08 2021 +0000
@@ -1,9 +1,10 @@
-$NetBSD: distinfo,v 1.4 2021/10/26 10:44:18 nia Exp $
+$NetBSD: distinfo,v 1.5 2021/11/09 11:36:08 nia Exp $
 
 BLAKE2s (openrct2-0.2.4.tar.gz) = 3f96cb44eae26acf77605e6e166fd2c85a0632db82a77019feefd5b30c803699
 SHA512 (openrct2-0.2.4.tar.gz) = 956044b5fa5e55256a33f352d2d1e8a4eb6738b98dc9894807b3628b5c5c08f3229c952fbf8b33ad867771f88c6d7e17ad1a8a4e050f8f269a6152d013afce03
 Size (openrct2-0.2.4.tar.gz) = 6805976 bytes
 SHA1 (patch-src_openrct2-ui_UiContext.Linux.cpp) = 36bd777ed772a0f18d76f699214223cc4011da6c
+SHA1 (patch-src_openrct2-ui_title_TitleSequencePlayer.cpp) = 35a4ee2a47fe6f5bfd536e199a369361cb1b12fa
 SHA1 (patch-src_openrct2_CMakeLists.txt) = a0553c147661396405a607f5ef62f10fc9b55f6c
 SHA1 (patch-src_openrct2_Version.h) = 5402d56aaedcac51d333d95c49f88472d9de7e91
 SHA1 (patch-src_openrct2_core_FileStream.hpp) = b1b69a0cb86207fd0c9d25beda3a063ee232b4fe
diff -r 2d9bff785be7 -r aeae6a737743 games/openrct2/patches/patch-src_openrct2-ui_title_TitleSequencePlayer.cpp
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/openrct2/patches/patch-src_openrct2-ui_title_TitleSequencePlayer.cpp        Tue Nov 09 11:36:08 2021 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_openrct2-ui_title_TitleSequencePlayer.cpp,v 1.1 2021/11/09 11:36:08 nia Exp $
+
+Fix building on NetBSD/current.
+"error: 'runtime_error' is not a member of 'std'"
+
+--- src/openrct2-ui/title/TitleSequencePlayer.cpp.orig 2019-10-28 20:18:47.000000000 +0000
++++ src/openrct2-ui/title/TitleSequencePlayer.cpp
+@@ -13,6 +13,7 @@
+ 
+ #include <algorithm>
+ #include <memory>
++#include <stdexcept>
+ #include <openrct2/Context.h>
+ #include <openrct2/Game.h>
+ #include <openrct2/GameState.h>



Home | Main Index | Thread Index | Old Index