commit:     00fff425187735de9ed5cff088ecaae078171c79
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 13 18:25:38 2025 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Apr 13 18:28:39 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00fff425

net-im/dino: Fix build w/ >=cmake-4

Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 net-im/dino/dino-0.4.5-r1.ebuild          | 3 +++
 net-im/dino/files/dino-0.4.5-cmake4.patch | 8 ++++++++
 2 files changed, 11 insertions(+)

diff --git a/net-im/dino/dino-0.4.5-r1.ebuild b/net-im/dino/dino-0.4.5-r1.ebuild
index 87f2f6b87e59..d076866eaf1c 100644
--- a/net-im/dino/dino-0.4.5-r1.ebuild
+++ b/net-im/dino/dino-0.4.5-r1.ebuild
@@ -60,6 +60,9 @@ BDEPEND="
        $(vala_depend)
 "
 
+# upstream switched to meson, so no need to try send it there
+PATCHES=( "${FILESDIR}/${P}-cmake4.patch" )
+
 src_configure() {
        vala_setup
 

diff --git a/net-im/dino/files/dino-0.4.5-cmake4.patch 
b/net-im/dino/files/dino-0.4.5-cmake4.patch
new file mode 100644
index 000000000000..15ecb0e9467a
--- /dev/null
+++ b/net-im/dino/files/dino-0.4.5-cmake4.patch
@@ -0,0 +1,8 @@
+--- a/CMakeLists.txt   2025-02-24 20:00:00.000000000 +0100
++++ b/CMakeLists.txt   2025-04-13 20:22:18.772585202 +0200
+@@ -1,4 +1,4 @@
+-cmake_minimum_required(VERSION 3.3)
++cmake_minimum_required(VERSION 3.5)
+ list(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake)
+ include(ComputeVersion)
+ if (NOT VERSION_FOUND)

Reply via email to