SHA256
8
0
forked from pool/snappy
Files
snappy/correct_testing_link.patch
Antonio Teixeira a1bd0bb2c5 - update to 1.2.2
* We fixed a very old issue of data corruption when compressed
    size exceeds 4GB. This can happen when you compress data
    close to 4GB and it's incompressible, for example, random
    data.
 *  Started to use minimum CMake 3.10 because older ones are not
    planned to be supported.
- update to 1.2.1
  * We restored old functions/symbols after reports of ABI
    incompatibility apache/arrow#41058
- update to 1.2.0
  * Level API was added with level 2 support. Compresses 5-10%
    denser and decompresses 5-10% faster. The compression speed
    drop is about 20-30%
- add correct_testing_link.patch, taken from Debian
- adjust reenable-rtti.patch
- adjust use-system-test-libs.patch, following the patch from
  Debian

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/snappy?expand=0&rev=30
2025-07-04 13:49:53 +00:00

29 lines
922 B
Diff

Description: add required libraries to link with
Just add those libraries to the linker.
Author: Laszlo Boszormenyi (GCS) <gcs@debian.org>
Forwarded: not-needed
Last-Update: 2021-12-04
---
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -350,7 +350,7 @@ if(SNAPPY_BUILD_TESTS)
PRIVATE
"snappy_unittest.cc"
)
- target_link_libraries(snappy_unittest snappy_test_support gmock_main gtest)
+ target_link_libraries(snappy_unittest snappy_test_support gmock_main gmock gtest pthread)
add_test(
NAME snappy_unittest
@@ -371,7 +371,7 @@ if(SNAPPY_BUILD_BENCHMARKS)
PRIVATE
"snappy_benchmark.cc"
)
- target_link_libraries(snappy_benchmark snappy_test_support benchmark_main)
+ target_link_libraries(snappy_benchmark snappy_test_support benchmark_main benchmark pthread)
# This project uses Google benchmark for benchmarking.
set(BENCHMARK_ENABLE_TESTING OFF CACHE BOOL "" FORCE)