diff options
author | nia <nia@pkgsrc.org> | 2021-11-09 11:36:08 +0000 |
---|---|---|
committer | nia <nia@pkgsrc.org> | 2021-11-09 11:36:08 +0000 |
commit | b5b3c9e9c5a512e7786af057adf422f9479b1a96 (patch) | |
tree | e85ff6d00872c66476bc5da86faeebce5ad571b8 | |
parent | cefa44380151939d7559484b6a28f5aa523e0ad5 (diff) | |
download | pkgsrc-b5b3c9e9c5a512e7786af057adf422f9479b1a96.tar.gz |
openrct2: Fix compilation on NetBSD/current.
-rw-r--r-- | games/openrct2/distinfo | 3 | ||||
-rw-r--r-- | games/openrct2/patches/patch-src_openrct2-ui_title_TitleSequencePlayer.cpp | 15 |
2 files changed, 17 insertions, 1 deletions
diff --git a/games/openrct2/distinfo b/games/openrct2/distinfo index 732cfbe61ef..3a5a933d733 100644 --- a/games/openrct2/distinfo +++ b/games/openrct2/distinfo @@ -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 --git a/games/openrct2/patches/patch-src_openrct2-ui_title_TitleSequencePlayer.cpp b/games/openrct2/patches/patch-src_openrct2-ui_title_TitleSequencePlayer.cpp new file mode 100644 index 00000000000..1ead196ecae --- /dev/null +++ b/games/openrct2/patches/patch-src_openrct2-ui_title_TitleSequencePlayer.cpp @@ -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> |