Date: Mon, 14 Mar 2022 15:07:20 GMT From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 10513cca9b4a - main - =?utf-8?Q?games/wyrmgus: update 5.3.4 =E2=86=92 5.3.5?= Message-ID: <202203141507.22EF7KrR079859@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by amdmi3: URL: https://cgit.FreeBSD.org/ports/commit/?id=10513cca9b4a45a9a18654235f44fa1648a9ecb4 commit 10513cca9b4a45a9a18654235f44fa1648a9ecb4 Author: Dmitry Marakasov <amdmi3@FreeBSD.org> AuthorDate: 2022-03-14 11:13:32 +0000 Commit: Dmitry Marakasov <amdmi3@FreeBSD.org> CommitDate: 2022-03-14 15:06:41 +0000 games/wyrmgus: update 5.3.4 → 5.3.5 --- games/wyrmgus/Makefile | 2 +- games/wyrmgus/distinfo | 6 +++--- games/wyrmgus/files/patch-src_map_world.cpp | 13 +++++++++++++ .../files/patch-src_util_container__random_util.h | 18 ++++++++++++++++++ 4 files changed, 35 insertions(+), 4 deletions(-) diff --git a/games/wyrmgus/Makefile b/games/wyrmgus/Makefile index f0a0c35413ac..fc670615a21c 100644 --- a/games/wyrmgus/Makefile +++ b/games/wyrmgus/Makefile @@ -1,7 +1,7 @@ # Created by: Travis Poppe <tlp@liquidx.org> PORTNAME= wyrmgus -PORTVERSION= 5.3.4 +PORTVERSION= 5.3.5 DISTVERSIONPREFIX= v CATEGORIES= games devel diff --git a/games/wyrmgus/distinfo b/games/wyrmgus/distinfo index cd8c750707e8..290f5ba61d17 100644 --- a/games/wyrmgus/distinfo +++ b/games/wyrmgus/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1644230937 -SHA256 (Andrettin-Wyrmgus-v5.3.4_GH0.tar.gz) = ebcfb54f166146d91a262ba808bf80e4a9777096fdc527759607ccac6fe4cfd7 -SIZE (Andrettin-Wyrmgus-v5.3.4_GH0.tar.gz) = 1609796 +TIMESTAMP = 1647210067 +SHA256 (Andrettin-Wyrmgus-v5.3.5_GH0.tar.gz) = 5728dc65910052cf41ba7421d5b75dfa0f2744fc301083405646b9ccaa259a64 +SIZE (Andrettin-Wyrmgus-v5.3.5_GH0.tar.gz) = 1632599 diff --git a/games/wyrmgus/files/patch-src_map_world.cpp b/games/wyrmgus/files/patch-src_map_world.cpp new file mode 100644 index 000000000000..b6ba8229f1f5 --- /dev/null +++ b/games/wyrmgus/files/patch-src_map_world.cpp @@ -0,0 +1,13 @@ +--- src/map/world.cpp.orig 2022-03-13 19:52:08 UTC ++++ src/map/world.cpp +@@ -147,7 +147,9 @@ std::string world::get_encyclopedia_text() const + ++supertaxon_counts[rank_supertaxon]; + } + +- for (const auto &[supertaxon, count] : supertaxon_counts) { ++ for (const auto &supertaxon_count : supertaxon_counts) { ++ const auto& supertaxon = supertaxon_count.first; ++ const auto& count = supertaxon_count.second; + if (count <= 1) { + continue; + } diff --git a/games/wyrmgus/files/patch-src_util_container__random_util.h b/games/wyrmgus/files/patch-src_util_container__random_util.h new file mode 100644 index 000000000000..7f823767777b --- /dev/null +++ b/games/wyrmgus/files/patch-src_util_container__random_util.h @@ -0,0 +1,18 @@ +--- src/util/container_random_util.h.orig 2022-03-13 19:52:08 UTC ++++ src/util/container_random_util.h +@@ -31,13 +31,13 @@ + namespace wyrmgus::container { + + template <typename T> +-inline const T::value_type &get_random(const T &container) ++inline const typename T::value_type &get_random(const T &container) + { + return container[random::get()->generate(container.size())]; + } + + template <typename T> +-inline const T::value_type &get_random_async(const T &container) ++inline const typename T::value_type &get_random_async(const T &container) + { + return container[random::get()->generate_async(container.size())]; + }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202203141507.22EF7KrR079859>