<pre style='margin:0'>
Ryan Carsten Schmidt (ryandesign) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/f5bc4a4f4ae73e6f66c5ebc68175acd13933d821">https://github.com/macports/macports-ports/commit/f5bc4a4f4ae73e6f66c5ebc68175acd13933d821</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 f5bc4a4f4ae snappy: set version of dylib to 1.2.0
</span>f5bc4a4f4ae is described below
<span style='display:block; white-space:pre;color:#808000;'>commit f5bc4a4f4ae73e6f66c5ebc68175acd13933d821
</span>Author: Paul Guyot <pguyot@kallisys.net>
AuthorDate: Tue May 21 18:31:56 2024 +0200
<span style='display:block; white-space:pre;color:#404040;'> snappy: set version of dylib to 1.2.0
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> * Apply, as a patch, a PR content that was merged after upstream 1.2.0 release
</span><span style='display:block; white-space:pre;color:#404040;'> * Bump revision accordingly
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Closes: https://trac.macports.org/ticket/70046
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Signed-off-by: Paul Guyot <pguyot@kallisys.net>
</span>---
archivers/snappy/Portfile | 9 +++++++--
archivers/snappy/files/patch-version-number.diff | 13 +++++++++++++
2 files changed, 20 insertions(+), 2 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/archivers/snappy/Portfile b/archivers/snappy/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 34cb2e8b142..4dcb3f0cbda 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/archivers/snappy/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/archivers/snappy/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -7,7 +7,7 @@ PortGroup cmake 1.1
</span> PortGroup github 1.0
github.setup google snappy 1.2.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 1
</span> categories archivers
maintainers nomaintainer
license BSD
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -35,9 +35,14 @@ checksums rmd160 35f820c4e35c8fe8ab19d88e7cdbf5860128afa3 \
</span> # error: invalid output constraint '=@ccz' in asm
compiler.blacklist-append {clang < 1200}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# RTTI:
</span> # https://github.com/facebook/folly/issues/1583
# https://github.com/Homebrew/homebrew-core/pull/76686#issuecomment-847527483
<span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles-append patch-no-disable-rtti.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Version:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Upstream forgot to update version. This was done in a later PR.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# https://github.com/google/snappy/pull/178
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles-append patch-no-disable-rtti.diff \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch-version-number.diff
</span>
# CMake Error in CMakeLists.txt:
# Target "snappy" requires the language dialect "CXX11" , but CMake does not
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/archivers/snappy/files/patch-version-number.diff b/archivers/snappy/files/patch-version-number.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..a561d03cf4f
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/archivers/snappy/files/patch-version-number.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,13 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git a/CMakeLists.txt b/CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index 85afe58..94bbc86 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -27,7 +27,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cmake_minimum_required(VERSION 3.1)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-project(Snappy VERSION 1.1.10 LANGUAGES C CXX)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++project(Snappy VERSION 1.2.0 LANGUAGES C CXX)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # C++ standard can be overridden when this is used as a sub-project.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if(NOT CMAKE_CXX_STANDARD)
</span></pre><pre style='margin:0'>
</pre>