commit: b35c9eb3aa518bad47a5c6fcc7094df5ff2923c1 Author: Maciej Barć <xgqt <AT> gentoo <DOT> org> AuthorDate: Tue Oct 14 19:41:36 2025 +0000 Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org> CommitDate: Tue Oct 14 19:43:18 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b35c9eb3
dev-lang/oorexx: bump cmake_minimum for samples Closes: https://bugs.gentoo.org/961268 Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org> dev-lang/oorexx/oorexx-5.1.0_beta12932.ebuild | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/dev-lang/oorexx/oorexx-5.1.0_beta12932.ebuild b/dev-lang/oorexx/oorexx-5.1.0_beta12932.ebuild index f1f736875eb6..8b45a5152c6a 100644 --- a/dev-lang/oorexx/oorexx-5.1.0_beta12932.ebuild +++ b/dev-lang/oorexx/oorexx-5.1.0_beta12932.ebuild @@ -39,6 +39,15 @@ PATCHES=( "${FILESDIR}/oorexx-5.0.0-man.patch" ) +src_prepare() { + find ./samples/ -type f -iname "CMakeLists.txt" -exec sed -i {} \ + -e "/cmake_minimum_required/I s|(.*)|(VERSION 3.20)|g" \ + -e "/cmake_policy.*/d" \; \ + || die + + cmake_src_prepare +} + src_configure() { # -Werror=strict-aliasing # https://bugs.gentoo.org/952966
