commit: 87aab659516d3855b91be9c4b4c42e317e03abce Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Thu May 8 19:59:14 2025 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Thu May 8 19:59:14 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87aab659
app-text/ebook-tools: Fix build w/ cmake-4 Closes: https://bugs.gentoo.org/955639 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> app-text/ebook-tools/ebook-tools-0.2.2-r2.ebuild | 3 ++- app-text/ebook-tools/files/ebook-tools-0.2.2-cmake4.patch | 11 +++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/app-text/ebook-tools/ebook-tools-0.2.2-r2.ebuild b/app-text/ebook-tools/ebook-tools-0.2.2-r2.ebuild index 50b2469665eb..29c9aec7e577 100644 --- a/app-text/ebook-tools/ebook-tools-0.2.2-r2.ebuild +++ b/app-text/ebook-tools/ebook-tools-0.2.2-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -26,6 +26,7 @@ PATCHES=( "${FILESDIR}/${P}-crashfix.patch" "${FILESDIR}/${P}-fvisibility-hidden.patch" "${FILESDIR}/${P}-libzip-cmake.patch" + "${FILESDIR}/${P}-cmake4.patch" # bug 955639 ) src_prepare() { diff --git a/app-text/ebook-tools/files/ebook-tools-0.2.2-cmake4.patch b/app-text/ebook-tools/files/ebook-tools-0.2.2-cmake4.patch new file mode 100644 index 000000000000..a71850cd3ab7 --- /dev/null +++ b/app-text/ebook-tools/files/ebook-tools-0.2.2-cmake4.patch @@ -0,0 +1,11 @@ +--- a/CMakeLists.txt 2012-09-04 16:32:32.000000000 +0200 ++++ b/CMakeLists.txt 2025-05-08 21:58:17.596985926 +0200 +@@ -1,6 +1,6 @@ +-project (EBOOK-TOOLS C) ++cmake_minimum_required(VERSION 3.5.0) + +-cmake_minimum_required(VERSION 2.4.0) ++project (EBOOK-TOOLS C) + + #set(CMAKE_CURRENT_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/src) + set(LIBRARY_OUTPUT_PATH ${EBOOK-TOOLS_BINARY_DIR}/libs)
