[packages/snappy] - updated to 1.2.1
qboosh
qboosh at pld-linux.org
Sun May 26 21:52:26 CEST 2024
commit c75240f56565e5c9cf4eaa2c8397277845fbbca1
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun May 26 21:53:10 2024 +0200
- updated to 1.2.1
snappy-gtest.patch | 13 +++++++++----
snappy.spec | 4 ++--
2 files changed, 11 insertions(+), 6 deletions(-)
---
diff --git a/snappy.spec b/snappy.spec
index edde7f0..0202e3e 100644
--- a/snappy.spec
+++ b/snappy.spec
@@ -6,13 +6,13 @@
Summary: Snappy - fast compression/decompression library
Summary(pl.UTF-8): Snappy - biblioteka do szybkiej kompresji i dekompresji
Name: snappy
-Version: 1.1.10
+Version: 1.2.1
Release: 1
License: BSD
Group: Libraries
#Source0Download: https://github.com/google/snappy/releases
Source0: https://github.com/google/snappy/archive/%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: 70153395ebe6d72febe2cf2e40026a44
+# Source0-md5: dd6f9b667e69491e1dbf7419bdf68823
Source1: %{name}.pc.in
Patch0: %{name}-gtest.patch
URL: http://google.github.io/snappy/
diff --git a/snappy-gtest.patch b/snappy-gtest.patch
index ecf969d..28b6ede 100644
--- a/snappy-gtest.patch
+++ b/snappy-gtest.patch
@@ -1,6 +1,6 @@
---- snappy-1.1.9/CMakeLists.txt.orig 2021-05-05 00:53:34.000000000 +0200
-+++ snappy-1.1.9/CMakeLists.txt 2022-02-14 16:29:44.015674683 +0100
-@@ -286,20 +286,6 @@ if(SNAPPY_BUILD_TESTS)
+--- snappy-1.2.1/CMakeLists.txt.orig 2024-05-21 21:36:39.000000000 +0200
++++ snappy-1.2.1/CMakeLists.txt 2024-05-26 21:51:23.464722018 +0200
+@@ -321,25 +321,6 @@ if(SNAPPY_BUILD_TESTS)
# Prevent overriding the parent project's compiler/linker settings on Windows.
set(gtest_force_shared_crt ON CACHE BOOL "" FORCE)
@@ -18,10 +18,15 @@
- set_property(TARGET gmock
- APPEND PROPERTY COMPILE_OPTIONS -Wno-missing-field-initializers)
- endif(SNAPPY_HAVE_NO_MISSING_FIELD_INITIALIZERS)
+-
+- if(SNAPPY_HAVE_NO_IMPLICIT_INT_FLOAT_CONVERSION)
+- set_property(TARGET gtest
+- APPEND PROPERTY COMPILE_OPTIONS -Wno-implicit-int-float-conversion)
+- endif(SNAPPY_HAVE_NO_IMPLICIT_INT_FLOAT_CONVERSION)
add_executable(snappy_unittest "")
target_sources(snappy_unittest
-@@ -328,11 +314,6 @@ if(SNAPPY_BUILD_BENCHMARKS)
+@@ -368,11 +349,6 @@ if(SNAPPY_BUILD_BENCHMARKS)
"snappy_benchmark.cc"
)
target_link_libraries(snappy_benchmark snappy_test_support benchmark_main)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/snappy.git/commitdiff/c75240f56565e5c9cf4eaa2c8397277845fbbca1
More information about the pld-cvs-commit
mailing list