From: Hannu Nyman Date: Sat, 8 Nov 2025 17:58:34 +0000 (+0200) Subject: protobuf: add cmake 4.x compatibility, remove maintainer X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=96d59ae7c9b692a031cb483a62ee314cb00a4629;p=feed%2Fpackages.git protobuf: add cmake 4.x compatibility, remove maintainer Add a patch for cmake 4.x compatibility. Remove maintainer who has not been active for several years. Signed-off-by: Hannu Nyman --- diff --git a/libs/protobuf/Makefile b/libs/protobuf/Makefile index 7e60e84986..bc47676b9d 100644 --- a/libs/protobuf/Makefile +++ b/libs/protobuf/Makefile @@ -9,13 +9,13 @@ include $(TOPDIR)/rules.mk PKG_NAME:=protobuf PKG_VERSION:=3.17.3 -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_SOURCE:=$(PKG_NAME)-cpp-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://github.com/google/protobuf/releases/download/v$(PKG_VERSION) PKG_HASH:=51cec99f108b83422b7af1170afd7aeb2dd77d2bcbb7b6bad1f92509e9ccf8cb -PKG_MAINTAINER:=Ken Keys +PKG_MAINTAINER:= PKG_LICENSE:=BSD-3-Clause PKG_LICENSE_FILES:=LICENSE PKG_CPE_ID:=cpe:/a:google:protobuf diff --git a/libs/protobuf/patches/001-cmake4.patch b/libs/protobuf/patches/001-cmake4.patch new file mode 100644 index 0000000000..4d9d022523 --- /dev/null +++ b/libs/protobuf/patches/001-cmake4.patch @@ -0,0 +1,9 @@ +--- a/cmake/CMakeLists.txt ++++ b/cmake/CMakeLists.txt +@@ -1,5 +1,5 @@ + # Minimum CMake required +-cmake_minimum_required(VERSION 3.1.3) ++cmake_minimum_required(VERSION 3.10) + + if(protobuf_VERBOSE) + message(STATUS "Protocol Buffers Configuring...")