From: Christian Marangi Date: Wed, 19 Nov 2025 08:31:43 +0000 (+0100) Subject: libdouble-conversion: bump to 3.3.1 and backport CMake >= 4.0 fix X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=f63573700e4618534e5b99b0d10999c89d19a200;p=feed%2Fvideo.git libdouble-conversion: bump to 3.3.1 and backport CMake >= 4.0 fix Bump libdouble-conversion to 3.3.1 and backport upstream patch for CMake >= 4.0 version support. Signed-off-by: Christian Marangi --- diff --git a/libs/libdouble-conversion/Makefile b/libs/libdouble-conversion/Makefile index 24874b1..414a242 100644 --- a/libs/libdouble-conversion/Makefile +++ b/libs/libdouble-conversion/Makefile @@ -8,12 +8,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=libdouble-conversion -PKG_VERSION:=3.2.0 +PKG_VERSION:=3.3.1 PKG_RELEASE:=1 PKG_SOURCE:=double-conversion-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/google/double-conversion/tar.gz/v$(PKG_VERSION)? -PKG_HASH:=3dbcdf186ad092a8b71228a5962009b5c96abde9a315257a3452eb988414ea3b +PKG_HASH:=fe54901055c71302dcdc5c3ccbe265a6c191978f3761ce1414d0895d6b0ea90e HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/double-conversion-$(PKG_VERSION) PKG_BUILD_DIR:=$(BUILD_DIR)/double-conversion-$(PKG_VERSION) diff --git a/libs/libdouble-conversion/patches/001-CMake-Raised-required-version-to-3.5-240.patch b/libs/libdouble-conversion/patches/001-CMake-Raised-required-version-to-3.5-240.patch new file mode 100644 index 0000000..f7d734e --- /dev/null +++ b/libs/libdouble-conversion/patches/001-CMake-Raised-required-version-to-3.5-240.patch @@ -0,0 +1,21 @@ +From 101e1ba89dc41ceb75090831da97c43a76cd2906 Mon Sep 17 00:00:00 2001 +From: Heiko Becker +Date: Thu, 20 Feb 2025 15:20:07 +0100 +Subject: [PATCH] CMake: Raised required version to 3.5 (#240) + +CMake >= 4.0.0-rc1 removed compatibility with versions < 3.5 and errors +out with such versions passed to cmake_minimum_required(). 3.5.0 has +been released 9 years ago, so I'd assume it's available almost +everywhere. +--- + CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -1,4 +1,4 @@ +-cmake_minimum_required(VERSION 3.0) ++cmake_minimum_required(VERSION 3.5) + project(double-conversion VERSION 3.3.0) + + option(BUILD_SHARED_LIBS "Build shared libraries (.dll/.so) instead of static ones (.lib/.a)" OFF)