qrencode: cmake minimum required version to 3.10
authorAndrea Pesaresi <[email protected]>
Fri, 7 Nov 2025 10:30:10 +0000 (11:30 +0100)
committerHannu Nyman <[email protected]>
Sat, 8 Nov 2025 18:47:25 +0000 (20:47 +0200)
- bump to r2 to adjust cmake minimum required version to 3.10

Link: openwrt#27607
Link: openwrt/openwrt@1b48ebd

Signed-off-by: Andrea Pesaresi <[email protected]>
libs/qrencode/Makefile
libs/qrencode/patches/001-cmake-version.patch [new file with mode: 0644]

index c5a5572a66a25a6d99eb69f12d8c598c449af55f..291b520338e6d052d852ae146f49b55f8910e186 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=qrencode
 PKG_VERSION:=4.1.1
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
 PKG_SOURCE_URL:=https://fukuchi.org/works/qrencode
diff --git a/libs/qrencode/patches/001-cmake-version.patch b/libs/qrencode/patches/001-cmake-version.patch
new file mode 100644 (file)
index 0000000..4a9674a
--- /dev/null
@@ -0,0 +1,8 @@
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -1,4 +1,4 @@
+-cmake_minimum_required(VERSION 3.1.0)
++cmake_minimum_required(VERSION 3.10)
+ project(QRencode VERSION 4.1.1 LANGUAGES C)