<pre style='margin:0'>
Herby Gillot (herbygillot) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/93660f4b1ec554ea2e0fbb61b8671097b987a42d">https://github.com/macports/macports-ports/commit/93660f4b1ec554ea2e0fbb61b8671097b987a42d</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 93660f4b1ec snappy: update to 1.1.10 (#18700)
</span>93660f4b1ec is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 93660f4b1ec554ea2e0fbb61b8671097b987a42d
</span>Author: Herby Gillot <herby.gillot@gmail.com>
AuthorDate: Tue May 16 04:25:23 2023 -0400
<span style='display:block; white-space:pre;color:#404040;'> snappy: update to 1.1.10 (#18700)
</span>---
archivers/snappy/Portfile | 21 +++++++++++--------
.../files/patch-disable-sign-compare-warning.diff | 24 ++++++++++++++++++++++
2 files changed, 36 insertions(+), 9 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 f63ccbd7f1e..bcf0775b085 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;'>@@ -6,14 +6,13 @@ PortGroup compiler_blacklist_versions 1.0
</span> PortGroup cmake 1.1
PortGroup github 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-github.setup google snappy 1.1.9
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup google snappy 1.1.10
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span> categories archivers
<span style='display:block; white-space:pre;background:#ffe0e0;'>-platforms darwin
</span> maintainers nomaintainer
license BSD
<span style='display:block; white-space:pre;background:#ffe0e0;'>-description a fast compressor/decompressor
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description A fast compressor/decompressor
</span>
long_description Snappy is a compression/decompression library. It does \
not aim for maximum compression, or compatibility with \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -28,9 +27,9 @@ long_description Snappy is a compression/decompression library. It does \
</span>
homepage https://google.github.io/snappy/
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 47903b5f83f424dbab2e593ef5a830a5df079d58 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 9a60cbec2f1911dd811f37f1ffe7269a44ab4fe981af808d253301138a52be21 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 1102487
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 e9039aa884499f3ba16d1063d7d6f942ee9bb286 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 c965e69ae164670c1ea8f688a775da3fe6bae6484d3e24c2ed3fbaf6d749bdee \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 1105397
</span>
# Disable Xcode clang < 1200, due to the following:
# error: invalid output constraint '=@ccz' in asm
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -38,14 +37,18 @@ compiler.blacklist-append {clang < 1200}
</span>
# https://github.com/facebook/folly/issues/1583
# https://github.com/Homebrew/homebrew-core/pull/76686
<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;'>+patchfiles-append patch-no-disable-rtti.diff \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch-disable-sign-compare-warning.diff
</span>
# CMake Error in CMakeLists.txt:
# Target "snappy" requires the language dialect "CXX11" , but CMake does not
# know the compile flags to use to enable it.
compiler.cxx_standard 2011
<span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_lib port:lzo2 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_build-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:pkgconfig
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib-append port:lzo2 \
</span> port:zlib \
port:lz4
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/archivers/snappy/files/patch-disable-sign-compare-warning.diff b/archivers/snappy/files/patch-disable-sign-compare-warning.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..a98db8bc072
</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-disable-sign-compare-warning.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,24 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+commit 00aa9ac61d37194cffb0913d9b7d71611eb05a4b
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Author: Richard O'Grady <rjogrady@google.com>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Date: Tue Apr 11 11:39:51 2023 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ Disable -Wsign-compare warning.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PiperOrigin-RevId: 523460180
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</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 7711693..0082f57 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- CMakeLists.txt.orig
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -73,6 +73,11 @@ else(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ endif(NOT CMAKE_CXX_FLAGS MATCHES "-Werror")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ endif(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ # Disable sign comparison warnings. Matches upcoming Bazel setup.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ if(NOT CMAKE_CXX_FLAGS MATCHES "-Wno-sign-compare")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-sign-compare")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ endif(NOT CMAKE_CXX_FLAGS MATCHES "-Wno-sign-compare")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Disable C++ exceptions.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ string(REGEX REPLACE "-fexceptions" "" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-exceptions")
</span></pre><pre style='margin:0'>
</pre>