package/protozero: bump version to 1.8.0

Release-notes: https://github.com/mapbox/protozero/releases/tag/v1.8.0
Drop upstream patch.
Updated license hash due to copyright year bump:
e91587f4bb

Bump minimal GCC version to 5. (Switched to C++14 as minimum requirement)

Signed-off-by: Maxim Kochetkov <fido_max@inbox.ru>
[Julien: remove patch entry in .checkpackageignore]
Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
Maxim Kochetkov
2025-02-15 09:25:04 +03:00
committed by Julien Olivain
parent d9b8a2a5f1
commit 1040a4b714
5 changed files with 4 additions and 40 deletions

View File

@@ -994,7 +994,6 @@ package/proftpd/S50proftpd Shellcheck lib_sysv.Indent lib_sysv.Variables
package/prosody/0001-enable-syslog.patch lib_patch.Upstream
package/prosody/0002-add-pidfile.patch lib_patch.Upstream
package/prosody/S50prosody Shellcheck lib_sysv.Indent lib_sysv.Variables
package/protozero/0001-CMakeLists.txt-protobuf-is-only-needed-for-tests.patch lib_patch.Upstream
package/proxychains-ng/0001-add-configure-check-for-non-POSIX-compliant-getnameinfo-signature.patch lib_patch.Upstream
package/ptpd/S65ptpd Shellcheck lib_sysv.Indent lib_sysv.Variables
package/ptpd2/0001-musl.patch lib_patch.Upstream

View File

@@ -1,35 +0,0 @@
From 1c16d3ffccd9e415c6ea3681f23231cd5184043c Mon Sep 17 00:00:00 2001
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Date: Wed, 16 Feb 2022 00:11:38 +0100
Subject: [PATCH] CMakeLists.txt: protobuf is only needed for tests
Don't check for protobuf if tests are disabled. As a side effect, this
will avoid a build failure if clang-tidy and protobuf are found but
tests are disabled
Fix #109
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
[Upstream status: https://github.com/mapbox/protozero/pull/110]
---
CMakeLists.txt | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index b975d49..df2ca15 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -52,7 +52,9 @@ endif()
#
#-----------------------------------------------------------------------------
-find_package(Protobuf)
+if(BUILD_TESTING)
+ find_package(Protobuf)
+endif()
#-----------------------------------------------------------------------------
--
2.34.1

View File

@@ -1,7 +1,7 @@
config BR2_PACKAGE_PROTOZERO
bool "protozero"
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 # C++11
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 # C++14
help
Minimalistic protocol buffer decoder and encoder in C++.
Designed for high performance. Suitable for writing zero copy

View File

@@ -1,4 +1,4 @@
# Locally calculated
sha256 27e0017d5b3ba06d646a3ec6391d5ccc8500db821be480aefd2e4ddc3de5ff99 protozero-1.7.1.tar.gz
sha256 1f4d477e3c2d74d8706c8f05437bd86804abe46853b1f233ce1549a4de76fa49 LICENSE.md
sha256 d95ca543fc42bd22b8c4bce1e6d691ce1711eda4b4910f7863449e6517fade6b protozero-1.8.0.tar.gz
sha256 254c0e9f18d261bfc55ff277cf12e3c1ca25839d56af17fba65d142396021466 LICENSE.md
sha256 0d542e0c8804e39aa7f37eb00da5a762149dc682d7829451287e11b938e94594 LICENSE.from_folly

View File

@@ -4,7 +4,7 @@
#
################################################################################
PROTOZERO_VERSION = 1.7.1
PROTOZERO_VERSION = 1.8.0
PROTOZERO_SITE = $(call github,mapbox,protozero,v$(PROTOZERO_VERSION))
PROTOZERO_LICENSE = BSD-2-Clause, Apache-2.0
PROTOZERO_LICENSE_FILES = LICENSE.md LICENSE.from_folly