diff --git a/archivers/snappy/Portfile b/archivers/snappy/Portfile index 4dcb3f0cbdab6..36cdb45e0e986 100644 --- a/archivers/snappy/Portfile +++ b/archivers/snappy/Portfile @@ -6,8 +6,8 @@ PortGroup compiler_blacklist_versions 1.0 PortGroup cmake 1.1 PortGroup github 1.0 -github.setup google snappy 1.2.0 -revision 1 +github.setup google snappy 1.2.1 +revision 0 categories archivers maintainers nomaintainer license BSD @@ -27,22 +27,17 @@ long_description Snappy is a compression/decompression library. It does \ homepage https://google.github.io/snappy/ -checksums rmd160 35f820c4e35c8fe8ab19d88e7cdbf5860128afa3 \ - sha256 1fd4fd029cec3aeb70ba7031766084e5ccd919c778178e6a99130a87edfc044a \ - size 1107397 +checksums rmd160 fa06ccd40a7fab5d14aa4c6e2bd4822fa8dc699f \ + sha256 8835ad585dab2393d3ca7869813efacf58df1129e530ad5239a02e303825fb19 \ + size 1107991 # Disable Xcode clang < 1200, due to the following: # error: invalid output constraint '=@ccz' in asm compiler.blacklist-append {clang < 1200} -# RTTI: # https://github.com/facebook/folly/issues/1583 # https://github.com/Homebrew/homebrew-core/pull/76686#issuecomment-847527483 -# Version: -# Upstream forgot to update version. This was done in a later PR. -# https://github.com/google/snappy/pull/178 -patchfiles-append patch-no-disable-rtti.diff \ - patch-version-number.diff +patchfiles-append patch-no-disable-rtti.diff # CMake Error in CMakeLists.txt: # Target "snappy" requires the language dialect "CXX11" , but CMake does not diff --git a/archivers/snappy/files/patch-version-number.diff b/archivers/snappy/files/patch-version-number.diff deleted file mode 100644 index a561d03cf4fdd..0000000000000 --- a/archivers/snappy/files/patch-version-number.diff +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 85afe58..94bbc86 100644 ---- CMakeLists.txt -+++ CMakeLists.txt -@@ -27,7 +27,7 @@ - # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - - cmake_minimum_required(VERSION 3.1) --project(Snappy VERSION 1.1.10 LANGUAGES C CXX) -+project(Snappy VERSION 1.2.0 LANGUAGES C CXX) - - # C++ standard can be overridden when this is used as a sub-project. - if(NOT CMAKE_CXX_STANDARD)