<pre style='margin:0'>
Renee Otten (reneeotten) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/06e1d40811ac9e16e5a37956bba7db6fbaebaa9d">https://github.com/macports/macports-ports/commit/06e1d40811ac9e16e5a37956bba7db6fbaebaa9d</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 06e1d40811a fheroes2: fix build issues on older macOS versions
</span>06e1d40811a is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 06e1d40811ac9e16e5a37956bba7db6fbaebaa9d
</span>Author: Oleg Derevenetz <oleg-derevenetz@yandex.ru>
AuthorDate: Sun Jun 13 07:03:20 2021 +0300
<span style='display:block; white-space:pre;color:#404040;'> fheroes2: fix build issues on older macOS versions
</span>---
games/fheroes2/Portfile | 6 ++++--
games/fheroes2/files/patch-mapregion-ctor.diff | 10 ++++++++++
2 files changed, 14 insertions(+), 2 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/games/fheroes2/Portfile b/games/fheroes2/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 6922eead518..992a680244e 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/games/fheroes2/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/games/fheroes2/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -29,10 +29,12 @@ depends_lib port:libiconv \
</span> port:libsdl2_mixer \
port:libsdl2_image
<span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles patch-missing-headers.diff \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles patch-mapregion-ctor.diff \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch-missing-headers.diff \
</span> patch-readme-txt.diff
<span style='display:block; white-space:pre;background:#ffe0e0;'>-compiler.cxx_standard 2011
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+compiler.cxx_standard 2011
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+compiler.thread_local_storage yes
</span>
post-destroot {
xinstall -d -m 0755 ${destroot}${prefix}/share/examples/fheroes2
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/games/fheroes2/files/patch-mapregion-ctor.diff b/games/fheroes2/files/patch-mapregion-ctor.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..bf00027b5b5
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/games/fheroes2/files/patch-mapregion-ctor.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,10 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- src/fheroes2/world/world_regions.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/fheroes2/world/world_regions.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -55,7 +55,7 @@ public:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ std::vector<MapRegionNode> _nodes;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size_t _lastProcessedNode = 0;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- MapRegion() = default;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ MapRegion() {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ MapRegion( int regionIndex, int mapIndex, bool water, size_t expectedSize );
</span></pre><pre style='margin:0'>
</pre>