mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
archivers/snappy: update to 1.1.10.
This commit is contained in:
parent
ab143bf311
commit
c703ad1ad9
4 changed files with 20 additions and 9 deletions
|
@ -1,6 +1,6 @@
|
|||
PORTNAME= snappy
|
||||
PORTVERSION= 1.1.9
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 1.1.10
|
||||
PORTREVISION= 0
|
||||
CATEGORIES= archivers
|
||||
|
||||
MAINTAINER= vanilla@FreeBSD.org
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1620309917
|
||||
SHA256 (google-snappy-1.1.9_GH0.tar.gz) = 75c1fbb3d618dd3a0483bff0e26d0a92b495bbe5059c8b4f1c962b478b6e06e7
|
||||
SIZE (google-snappy-1.1.9_GH0.tar.gz) = 1102382
|
||||
TIMESTAMP = 1678607829
|
||||
SHA256 (google-snappy-1.1.10_GH0.tar.gz) = 49d831bffcc5f3d01482340fe5af59852ca2fe76c3e05df0e67203ebbe0f1d90
|
||||
SIZE (google-snappy-1.1.10_GH0.tar.gz) = 1105312
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
--- CMakeLists.txt.orig 2021-05-04 22:53:34 UTC
|
||||
--- CMakeLists.txt.orig 2023-03-08 23:44:00 UTC
|
||||
+++ CMakeLists.txt
|
||||
@@ -78,8 +78,10 @@ else(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-exceptions")
|
||||
|
@ -13,7 +13,7 @@
|
|||
endif(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
|
||||
|
||||
# BUILD_SHARED_LIBS is a standard CMake variable, but we declare it here to make
|
||||
@@ -213,8 +215,7 @@ configure_file(
|
||||
@@ -235,8 +237,7 @@ configure_file(
|
||||
"snappy-stubs-public.h.in"
|
||||
"${PROJECT_BINARY_DIR}/snappy-stubs-public.h")
|
||||
|
||||
|
@ -23,7 +23,7 @@
|
|||
PRIVATE
|
||||
"snappy-internal.h"
|
||||
"snappy-stubs-internal.h"
|
||||
@@ -235,20 +236,35 @@ target_sources(snappy
|
||||
@@ -257,20 +258,35 @@ target_sources(snappy
|
||||
$<BUILD_INTERFACE:${PROJECT_BINARY_DIR}/snappy-stubs-public.h>
|
||||
$<INSTALL_INTERFACE:include/snappy-stubs-public.h>
|
||||
)
|
||||
|
@ -63,7 +63,7 @@
|
|||
if(SNAPPY_BUILD_TESTS OR SNAPPY_BUILD_BENCHMARKS)
|
||||
add_library(snappy_test_support "")
|
||||
target_sources(snappy_test_support
|
||||
@@ -359,7 +375,7 @@ endif(SNAPPY_FUZZING_BUILD)
|
||||
@@ -381,7 +397,7 @@ endif(SNAPPY_FUZZING_BUILD)
|
||||
include(GNUInstallDirs)
|
||||
|
||||
if(SNAPPY_INSTALL)
|
||||
|
|
11
archivers/snappy/files/patch-snappy.cc
Normal file
11
archivers/snappy/files/patch-snappy.cc
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- snappy.cc.orig 2023-03-12 08:04:09 UTC
|
||||
+++ snappy.cc
|
||||
@@ -1290,7 +1290,7 @@ std::pair<const uint8_t*, ptrdiff_t> DecompressBranchl
|
||||
DeferMemCopy(&deferred_src, &deferred_length, from, len);
|
||||
}
|
||||
} while (ip < ip_limit_min_slop &&
|
||||
- (op + deferred_length) < op_limit_min_slop);
|
||||
+ (op + deferred_length) < (size_t)op_limit_min_slop);
|
||||
exit:
|
||||
ip--;
|
||||
assert(ip <= ip_limit);
|
Loading…
Add table
Reference in a new issue