From 842e6846372645268b93c2f58035d4d788c1404e Mon Sep 17 00:00:00 2001 From: skmpz Date: Thu, 20 Apr 2023 17:15:09 +0400 Subject: [PATCH] snappy: update to 1.1.10. --- srcpkgs/snappy/patches/inline.patch | 11 ----------- srcpkgs/snappy/template | 4 ++-- 2 files changed, 2 insertions(+), 13 deletions(-) delete mode 100644 srcpkgs/snappy/patches/inline.patch diff --git a/srcpkgs/snappy/patches/inline.patch b/srcpkgs/snappy/patches/inline.patch deleted file mode 100644 index a69dfecaf48f05..00000000000000 --- a/srcpkgs/snappy/patches/inline.patch +++ /dev/null @@ -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) { diff --git a/srcpkgs/snappy/template b/srcpkgs/snappy/template index 7e9e5214fb7df7..f85fcac828c6a7 100644 --- a/srcpkgs/snappy/template +++ b/srcpkgs/snappy/template @@ -1,6 +1,6 @@ # Template file for 'snappy' pkgname=snappy -version=1.1.9 +version=1.1.10 revision=1 build_style=cmake configure_args="-DBUILD_SHARED_LIBS=1" @@ -10,7 +10,7 @@ maintainer="skmpz " license="BSD-3-Clause" homepage="https://google.github.io/snappy" distfiles="https://github.com/google/snappy/archive/${version}.tar.gz" -checksum=75c1fbb3d618dd3a0483bff0e26d0a92b495bbe5059c8b4f1c962b478b6e06e7 +checksum=49d831bffcc5f3d01482340fe5af59852ca2fe76c3e05df0e67203ebbe0f1d90 post_install() { vlicense COPYING