Skip to content

Commit

Permalink
snappy: update to 1.2.1
Browse files Browse the repository at this point in the history
Release eventually fixes ABI compatibility issue created by 1.2.0.
Remove patch accordingly.

See: google/snappy#183
Closes: https://trac.macports.org/ticket/70046

Signed-off-by: Paul Guyot <pguyot@kallisys.net>
  • Loading branch information
pguyot authored and ryandesign committed May 21, 2024
1 parent 2aefd9b commit 05d059f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 24 deletions.
17 changes: 6 additions & 11 deletions archivers/snappy/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
13 changes: 0 additions & 13 deletions archivers/snappy/files/patch-version-number.diff

This file was deleted.

0 comments on commit 05d059f

Please sign in to comment.