diff --git a/add-option-to-enable-rtti-set-default-to-current-ben.patch b/add-option-to-enable-rtti-set-default-to-current-ben.patch index 6e259fd..8630521 100644 --- a/add-option-to-enable-rtti-set-default-to-current-ben.patch +++ b/add-option-to-enable-rtti-set-default-to-current-ben.patch @@ -61,12 +61,11 @@ index c2a838f..5bf7870 100644 @@ -100,7 +100,7 @@ // Inlining hints. - #ifdef HAVE_ATTRIBUTE_ALWAYS_INLINE + #if HAVE_ATTRIBUTE_ALWAYS_INLINE -#define SNAPPY_ATTRIBUTE_ALWAYS_INLINE __attribute__((always_inline)) +#define SNAPPY_ATTRIBUTE_ALWAYS_INLINE #else #define SNAPPY_ATTRIBUTE_ALWAYS_INLINE - #endif + #endif // HAVE_ATTRIBUTE_ALWAYS_INLINE -- 2.24.4 - diff --git a/fix-the-AdvanceToNextTag-fails-to-be-compiled-without-inline.patch b/fix-the-AdvanceToNextTag-fails-to-be-compiled-without-inline.patch deleted file mode 100644 index a1bd4ea..0000000 --- a/fix-the-AdvanceToNextTag-fails-to-be-compiled-without-inline.patch +++ /dev/null @@ -1,26 +0,0 @@ -From 581af0c0a819da2214466e4d30416616966e781d Mon Sep 17 00:00:00 2001 -From: hanxinke -Date: Tue, 7 Dec 2021 15:47:14 +0800 -Subject: [PATCH] fix the AdvanceToNextTag fails to be compiled without inline - -Signed-off-by: hanxinke ---- - snappy.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/snappy.cc b/snappy.cc -index 79dc0e8..51157be 100644 ---- a/snappy.cc -+++ b/snappy.cc -@@ -1014,7 +1014,7 @@ void MemMove(ptrdiff_t dst, const void* src, size_t size) { - } - - SNAPPY_ATTRIBUTE_ALWAYS_INLINE --size_t AdvanceToNextTag(const uint8_t** ip_p, size_t* tag) { -+inline size_t AdvanceToNextTag(const uint8_t** ip_p, size_t* tag) { - const uint8_t*& ip = *ip_p; - // This section is crucial for the throughput of the decompression loop. - // The latency of an iteration is fundamentally constrained by the --- -1.8.3.1 - diff --git a/snappy-1.1.10.tar.gz b/snappy-1.1.10.tar.gz new file mode 100644 index 0000000..b56209d Binary files /dev/null and b/snappy-1.1.10.tar.gz differ diff --git a/snappy-1.1.9.tar.gz b/snappy-1.1.9.tar.gz deleted file mode 100644 index d7a3adf..0000000 Binary files a/snappy-1.1.9.tar.gz and /dev/null differ diff --git a/snappy.spec b/snappy.spec index 42556ad..2660c3c 100644 --- a/snappy.spec +++ b/snappy.spec @@ -1,6 +1,6 @@ Name: snappy -Version: 1.1.9 -Release: 2 +Version: 1.1.10 +Release: 1 Summary: A fast compressor/decompressor License: BSD URL: https://github.com/google/snappy @@ -8,7 +8,6 @@ Source0: https://github.com/google/snappy/archive/%{version}/%{name}-%{version}. Source1: snappy.pc Patch0: remove-dependency-on-google-benchmark-and-gmock.patch -Patch1: fix-the-AdvanceToNextTag-fails-to-be-compiled-without-inline.patch Patch2: add-option-to-enable-rtti-set-default-to-current-ben.patch BuildRequires: gcc-c++ make gtest-devel cmake @@ -70,6 +69,11 @@ make test %doc NEWS README.md %changelog +* Mon Jul 3 2023 dillon chen -1.1.10-1 +- update version to 1.1.10 +- Removed patch1(inline.patch) as it's no longer required. +- repatch patch2(snappy-stubs-internal.h) + * Wed Jun 22 2022 wangzengliang - 1.1.9-2 - DESC: add option to enable rtti set default to current