protobuf: add cmake 4.x compatibility, remove maintainer
authorHannu Nyman <[email protected]>
Sat, 8 Nov 2025 17:58:34 +0000 (19:58 +0200)
committerHannu Nyman <[email protected]>
Sat, 8 Nov 2025 19:17:57 +0000 (21:17 +0200)
Add a patch for cmake 4.x compatibility.
Remove maintainer who has not been active for several years.

Signed-off-by: Hannu Nyman <[email protected]>
libs/protobuf/Makefile
libs/protobuf/patches/001-cmake4.patch [new file with mode: 0644]

index 7e60e84986c0d7c6f7b9d17982df9b5153e381d1..bc47676b9d8e0d3aa2f43ed4c03f9e57ad4e58ac 100644 (file)
@@ -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 <[email protected]>
+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 (file)
index 0000000..4d9d022
--- /dev/null
@@ -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...")