- update to 1.1.10:
* Performance improvements * Compilation fixes for various environments - drop fix-always-inline.patch (obsolete) - This is a maintenance release with no changes to the actual OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/snappy?expand=0&rev=20
This commit is contained in:
parent
da1721426d
commit
eef6e203d4
BIN
1.1.10.tar.gz
(Stored with Git LFS)
Normal file
BIN
1.1.10.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
1.1.9.tar.gz
(Stored with Git LFS)
BIN
1.1.9.tar.gz
(Stored with Git LFS)
Binary file not shown.
@ -1,29 +0,0 @@
|
||||
From 0c716d435abe65250100c2caea0e5126ac4e14bd Mon Sep 17 00:00:00 2001
|
||||
From: "Georgi D. Sotirov" <gdsotirov@gmail.com>
|
||||
Date: Wed, 5 May 2021 14:16:46 +0300
|
||||
Subject: [PATCH] Add inline with SNAPPY_ATTRIBUTE_ALWAYS_INLINE
|
||||
Upstream: https://github.com/google/snappy/pull/128
|
||||
|
||||
Add inline with SNAPPY_ATTRIBUTE_ALWAYS_INLINE on AdvanceToNextTag to
|
||||
fix compilation errors and a warning with GCC.
|
||||
|
||||
Just like with other functions using SNAPPY_ATTRIBUTE_ALWAYS_INLINE
|
||||
macro (i.e. __attribute__((always_inline)) ) it is necessary to use C++
|
||||
inline specifier.
|
||||
---
|
||||
snappy.cc | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/snappy.cc b/snappy.cc
|
||||
index 79dc0e8d..51157be2 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,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 10 13:54:10 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 1.1.10:
|
||||
* Performance improvements
|
||||
* Compilation fixes for various environments
|
||||
- drop fix-always-inline.patch (obsolete)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 27 06:25:52 UTC 2021 - Tim Serong <tserong@suse.com>
|
||||
|
||||
@ -72,7 +80,7 @@ Wed Jul 29 09:58:16 UTC 2015 - dimstar@opensuse.org
|
||||
Thu Sep 11 09:34:36 UTC 2014 - toddrme2178@gmail.com
|
||||
|
||||
- Update to version 1.1.2
|
||||
- This is a maintenance release with no changes to the actual
|
||||
- This is a maintenance release with no changes to the actual
|
||||
library source code.
|
||||
* Stop distributing benchmark data files that have unclear
|
||||
or unsuitable licensing.
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package snappy
|
||||
#
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -18,7 +18,7 @@
|
||||
|
||||
%define libname libsnappy1
|
||||
Name: snappy
|
||||
Version: 1.1.9
|
||||
Version: 1.1.10
|
||||
Release: 0
|
||||
Summary: A compressor/decompressor library favoring time
|
||||
License: BSD-3-Clause
|
||||
@ -28,7 +28,6 @@ Source0: https://github.com/google/snappy/archive/%{version}.tar.gz
|
||||
Source1: snappy.pc
|
||||
Source99: baselibs.conf
|
||||
Patch0: use-system-test-libs.patch
|
||||
Patch1: fix-always-inline.patch
|
||||
Patch2: reenable-rtti.patch
|
||||
BuildRequires: cmake
|
||||
BuildRequires: gcc-c++
|
||||
|
Loading…
Reference in New Issue
Block a user