public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/oorexx/, dev-lang/oorexx/files/
@ 2025-04-14 22:04 Maciej Barć
  0 siblings, 0 replies; only message in thread
From: Maciej Barć @ 2025-04-14 22:04 UTC (permalink / raw
  To: gentoo-commits

commit:     1ac148b7418b9ae5a1735402aecbdcdfb33bd28b
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 14 21:54:15 2025 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Mon Apr 14 22:04:21 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ac148b7

dev-lang/oorexx: bump cmake_minimum_required

Closes: https://bugs.gentoo.org/953855
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 .../oorexx-5.0.0-cmake_minimum_required.patch      | 35 ++++++++++++++++++++++
 dev-lang/oorexx/oorexx-5.1.0_beta12932.ebuild      |  5 +++-
 2 files changed, 39 insertions(+), 1 deletion(-)

diff --git a/dev-lang/oorexx/files/oorexx-5.0.0-cmake_minimum_required.patch b/dev-lang/oorexx/files/oorexx-5.0.0-cmake_minimum_required.patch
new file mode 100644
index 000000000000..baf09275435f
--- /dev/null
+++ b/dev-lang/oorexx/files/oorexx-5.0.0-cmake_minimum_required.patch
@@ -0,0 +1,35 @@
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -42,13 +42,11 @@
+ message(STATUS "CMake version is ${CMAKE_VERSION}")
+ if (APPLE)
+     # apple builds with prior cmake version have an @rpath problem
+-    cmake_minimum_required (VERSION 3.12)
++    cmake_minimum_required (VERSION 3.20)
+ else ()
+     # for other platforms
+-    cmake_minimum_required (VERSION 2.8.12)
++    cmake_minimum_required (VERSION 3.20)
+ endif ()
+-# CMP0091 introduced in 3.15 must stay OLD for our /MD -> /MT hack to work
+-cmake_policy(VERSION 2.8...3.3)
+ 
+ # must come before the project command
+ # 10.13.6 High Sierra is the minimum system supported
+--- a/testbinaries/CMakeLists.txt
++++ b/testbinaries/CMakeLists.txt
+@@ -40,12 +40,11 @@
+ #/*----------------------------------------------------------------------------*/
+ if (APPLE)
+ # apple build with lower cmake version have an @rpath problem
+-    cmake_minimum_required (VERSION 3.12)
++    cmake_minimum_required (VERSION 3.20)
+ else()
+ #for other platforms
+-    cmake_minimum_required (VERSION 2.8.12)
++    cmake_minimum_required (VERSION 3.20)
+ endif()
+-cmake_policy(VERSION 2.8...3.3)
+ 
+ #/*----------------------------------------------------------------------------*/
+ #/* Project settings                                                           */

diff --git a/dev-lang/oorexx/oorexx-5.1.0_beta12932.ebuild b/dev-lang/oorexx/oorexx-5.1.0_beta12932.ebuild
index f226fc76d8c6..175824b2c014 100644
--- a/dev-lang/oorexx/oorexx-5.1.0_beta12932.ebuild
+++ b/dev-lang/oorexx/oorexx-5.1.0_beta12932.ebuild
@@ -34,7 +34,10 @@ DEPEND="
 	${RDEPEND}
 "
 
-PATCHES=( "${FILESDIR}/${PN}-5.0.0-man.patch" )
+PATCHES=(
+	"${FILESDIR}/oorexx-5.0.0-cmake_minimum_required.patch"
+	"${FILESDIR}/oorexx-5.0.0-man.patch"
+)
 
 src_configure() {
 	# bug 924171


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2025-04-14 22:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-14 22:04 [gentoo-commits] repo/gentoo:master commit in: dev-lang/oorexx/, dev-lang/oorexx/files/ Maciej Barć

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox