commit: 57e3d711af3e0b175cd8b2385839f026fd296cdc Author: Philipp Rösner <rndxelement <AT> protonmail <DOT> com> AuthorDate: Thu Oct 2 17:46:09 2025 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Thu Oct 2 21:27:29 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57e3d711
media-sound/alacenc: raise docopt CMake version - Raise minimum required CMake version of docopt to 3.5 - See: https://github.com/docopt/docopt.cpp/issues/166 - See: https://github.com/flacon/alacenc/issues/5 Closes: https://bugs.gentoo.org/957536 Signed-off-by: Philipp Rösner <rndxelement <AT> protonmail.com> Part-of: https://github.com/gentoo/gentoo/pull/44009 Closes: https://github.com/gentoo/gentoo/pull/44009 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> media-sound/alacenc/alacenc-0.4.1.ebuild | 1 + media-sound/alacenc/files/alacenc-0.4.1-cmake.patch | 13 +++++++++++++ 2 files changed, 14 insertions(+) diff --git a/media-sound/alacenc/alacenc-0.4.1.ebuild b/media-sound/alacenc/alacenc-0.4.1.ebuild index b0ba6363d299..1f55ee9bd906 100644 --- a/media-sound/alacenc/alacenc-0.4.1.ebuild +++ b/media-sound/alacenc/alacenc-0.4.1.ebuild @@ -16,6 +16,7 @@ KEYWORDS="amd64 x86" BDEPEND="virtual/pkgconfig" PATCHES=( + "${FILESDIR}/${P}-cmake.patch" "${FILESDIR}/${P}-musl.patch" ) diff --git a/media-sound/alacenc/files/alacenc-0.4.1-cmake.patch b/media-sound/alacenc/files/alacenc-0.4.1-cmake.patch new file mode 100644 index 000000000000..21f46c2818b3 --- /dev/null +++ b/media-sound/alacenc/files/alacenc-0.4.1-cmake.patch @@ -0,0 +1,13 @@ +Raise minimum required CMake version of docopt +for CMake-4 support. +https://bugs.gentoo.org/957536 +https://github.com/docopt/docopt.cpp/issues/166 + +--- a/vendor/docopt/CMakeLists.txt ++++ b/vendor/docopt/CMakeLists.txt +@@ -1,4 +1,4 @@ +-cmake_minimum_required(VERSION 3.1) ++cmake_minimum_required(VERSION 3.5) + project(docopt.cpp VERSION 0.6.2) + + include(GNUInstallDirs)
