mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
snappy: update to 1.1.10.
This commit is contained in:
parent
c5d8056372
commit
b48a1c2506
2 changed files with 2 additions and 13 deletions
|
@ -1,11 +0,0 @@
|
||||||
Add inline with SNAPPY_ATTRIBUTE_ALWAYS_INLINE on AdvanceToNextTag to fix:
|
|
||||||
1097 | size_t tag_type = AdvanceToNextTag(&ip, &tag);
|
|
||||||
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~
|
|
||||||
../snappy.cc:1017:8: error: inlining failed in call to 'always_inline'
|
|
||||||
'size_t snappy::AdvanceToNextTag(const uint8_t**, size_t*)': function body can be overwritten at link time
|
|
||||||
|
|
||||||
--- a/snappy.cc 2021-05-05 02:53:34.000000000 +0400
|
|
||||||
+++ b/snappy.cc 2021-05-24 01:24:59.124654893 +0400
|
|
||||||
@@ -1017 +1017 @@ 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) {
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'snappy'
|
# Template file for 'snappy'
|
||||||
pkgname=snappy
|
pkgname=snappy
|
||||||
version=1.1.9
|
version=1.1.10
|
||||||
revision=1
|
revision=1
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
configure_args="-DBUILD_SHARED_LIBS=1"
|
configure_args="-DBUILD_SHARED_LIBS=1"
|
||||||
|
@ -10,7 +10,7 @@ maintainer="skmpz <dem.procopiou@gmail.com>"
|
||||||
license="BSD-3-Clause"
|
license="BSD-3-Clause"
|
||||||
homepage="https://google.github.io/snappy"
|
homepage="https://google.github.io/snappy"
|
||||||
distfiles="https://github.com/google/snappy/archive/${version}.tar.gz"
|
distfiles="https://github.com/google/snappy/archive/${version}.tar.gz"
|
||||||
checksum=75c1fbb3d618dd3a0483bff0e26d0a92b495bbe5059c8b4f1c962b478b6e06e7
|
checksum=49d831bffcc5f3d01482340fe5af59852ca2fe76c3e05df0e67203ebbe0f1d90
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense COPYING
|
vlicense COPYING
|
||||||
|
|
Loading…
Add table
Reference in a new issue