commit: 26d7d353964a329a8bd12b3ce738007245a553bc Author: 1vybridge <openrc <AT> posteo <DOT> de> AuthorDate: Thu Jun 19 13:00:53 2025 +0000 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> CommitDate: Thu Jun 19 17:21:47 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26d7d353
media-libs/woff2: set cmake minimum ver to 3.10 Add patch to set the minimum CMake version to 3.10 Closes: https://bugs.gentoo.org/951837 Signed-off-by: 1vybridge <openrc <AT> posteo.de> Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> .../woff2/files/woff2-cmake-minimum-ver-3.10.patch | 25 ++++++++++++++++++++++ ...woff2-1.0.2-r6.ebuild => woff2-1.0.2-r7.ebuild} | 1 + 2 files changed, 26 insertions(+) diff --git a/media-libs/woff2/files/woff2-cmake-minimum-ver-3.10.patch b/media-libs/woff2/files/woff2-cmake-minimum-ver-3.10.patch new file mode 100644 index 000000000000..079382e81eb6 --- /dev/null +++ b/media-libs/woff2/files/woff2-cmake-minimum-ver-3.10.patch @@ -0,0 +1,25 @@ +From 2a6a699259f7960ce85dae9e9df10bbae0a318db Mon Sep 17 00:00:00 2001 +From: 1vybridge <[email protected]> +Date: Thu, 19 Jun 2025 16:10:00 +0300 +Subject: [PATCH] Set CMake minimum required version to 3.10 + +--- + CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index ecfbb83..612c25d 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -7,7 +7,7 @@ + # several CI services, such as Travis and Drone, use it. Solaris 11 + # has 2.8.6, and it's not difficult to support if you already have to + # support 2.8.7. +-cmake_minimum_required(VERSION 2.8.6) ++cmake_minimum_required(VERSION 3.10) + + project(woff2) + +-- +2.49.0 + diff --git a/media-libs/woff2/woff2-1.0.2-r6.ebuild b/media-libs/woff2/woff2-1.0.2-r7.ebuild similarity index 94% rename from media-libs/woff2/woff2-1.0.2-r6.ebuild rename to media-libs/woff2/woff2-1.0.2-r7.ebuild index 04d0efda8c1f..7fde57c014bc 100644 --- a/media-libs/woff2/woff2-1.0.2-r6.ebuild +++ b/media-libs/woff2/woff2-1.0.2-r7.ebuild @@ -21,6 +21,7 @@ BDEPEND="virtual/pkgconfig" PATCHES=( "${FILESDIR}"/${P}-aliasing.patch "${FILESDIR}"/${PN}-1.0.2-gcc15.patch + "${FILESDIR}"/${PN}-cmake-minimum-ver-3.10.patch #951837 ) src_configure() {
