commit: df29f1d16911466a45a626bf6817897c1c23e6d6 Author: Alexander Miller <alex.miller <AT> gmx <DOT> de> AuthorDate: Mon Oct 27 00:49:24 2025 +0000 Commit: Eli Schwartz <eschwartz <AT> gentoo <DOT> org> CommitDate: Mon Nov 3 05:48:03 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df29f1d1
app-arch/torrentzip: Raise CMake minimum to 3.12 Patch from https://github.com/0-wiz-0/trrntzip/commit/7ce70832ee84c9d3c491fedb15cf9abd2aacb5bf.patch Closes: https://bugs.gentoo.org/964532 Signed-off-by: Alexander Miller <alex.miller <AT> gmx.de> Closes: https://github.com/gentoo/gentoo/pull/44346 Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org> .../files/torrentzip-1.3-cmake-minreq.patch | 37 ++++++++++++++++++++++ app-arch/torrentzip/torrentzip-1.3.ebuild | 4 +++ 2 files changed, 41 insertions(+) diff --git a/app-arch/torrentzip/files/torrentzip-1.3-cmake-minreq.patch b/app-arch/torrentzip/files/torrentzip-1.3-cmake-minreq.patch new file mode 100644 index 000000000000..fe5568d524af --- /dev/null +++ b/app-arch/torrentzip/files/torrentzip-1.3-cmake-minreq.patch @@ -0,0 +1,37 @@ +From 7ce70832ee84c9d3c491fedb15cf9abd2aacb5bf Mon Sep 17 00:00:00 2001 +From: Alexander Miller <[email protected]> +Date: Sun, 26 Oct 2025 23:52:08 +0100 +Subject: [PATCH] Increase minimum required CMake version to 3.12 + +Since version 3.31, CMake warns that compatibility with CMake < 3.10 +will be removed from a future version of CMake. Moreover, the project +(conditionally) uses the FindPython module which was introduced only +in CMake version 3.12. +--- + CMakeLists.txt | 2 +- + README.md | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 8cbc12b..71d82d4 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -1,4 +1,4 @@ +-cmake_minimum_required(VERSION 3.5) ++cmake_minimum_required(VERSION 3.12) + + project(trrntzip + VERSION 1.3 +diff --git a/README.md b/README.md +index c70c883..69933ea 100644 +--- a/README.md ++++ b/README.md +@@ -18,7 +18,7 @@ comes from). + + * A C compiler (e.g. gcc or clang) + * [zlib](http://zlib.net/) (at least version 1.2.2) +-* [CMake](https://cmake.org/) (at least version 3.5) ++* [CMake](https://cmake.org/) (at least version 3.12) + + ## Building + diff --git a/app-arch/torrentzip/torrentzip-1.3.ebuild b/app-arch/torrentzip/torrentzip-1.3.ebuild index 43649683adaa..c20f69cbe597 100644 --- a/app-arch/torrentzip/torrentzip-1.3.ebuild +++ b/app-arch/torrentzip/torrentzip-1.3.ebuild @@ -34,6 +34,10 @@ BDEPEND=" DOCS=(AUTHORS NEWS.md README.md) +PATCHES=( + "${FILESDIR}/${P}-cmake-minreq.patch" # bug #964532 +) + pkg_setup() { use test && python-any-r1_pkg_setup }
