commit:     45a7d58247b29f8377ffceb25744ae0dcf82fa2b
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 27 17:24:22 2025 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Oct 27 17:36:14 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45a7d582

sci-visualization/labplot: Raise bundled Qt-ADS CMake minimum to 3.16

Bug: https://bugs.gentoo.org/965103
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 ...labplot-2.11.1-qtads-cmake-minreqver-3.16.patch | 32 ++++++++++++++++++++++
 sci-visualization/labplot/labplot-2.11.1-r1.ebuild |  5 +++-
 2 files changed, 36 insertions(+), 1 deletion(-)

diff --git 
a/sci-visualization/labplot/files/labplot-2.11.1-qtads-cmake-minreqver-3.16.patch
 
b/sci-visualization/labplot/files/labplot-2.11.1-qtads-cmake-minreqver-3.16.patch
new file mode 100644
index 000000000000..47803472801f
--- /dev/null
+++ 
b/sci-visualization/labplot/files/labplot-2.11.1-qtads-cmake-minreqver-3.16.patch
@@ -0,0 +1,32 @@
+Source: https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System/pull/710
+
+From 7d9f9b43a7957784c2b99f5a3e20b88e50b5b1c2 Mon Sep 17 00:00:00 2001
+From: "anoy." <[email protected]>
+Date: Wed, 5 Feb 2025 11:52:17 +0100
+Subject: [PATCH] update minimum CMake version to 3.16 (#710)
+
+---
+ src/3rdparty/Qt-Advanced-Docking-System/CMakeLists.txt                        
    | 2 +-
+ src/3rdparty/Qt-Advanced-Docking-System/src/CMakeLists.txt                    
    | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/src/3rdparty/Qt-Advanced-Docking-System/CMakeLists.txt 
b/src/3rdparty/Qt-Advanced-Docking-System/CMakeLists.txt
+index 00d0f0eb3..2b0a2a665 100644
+--- a/src/3rdparty/Qt-Advanced-Docking-System/CMakeLists.txt
++++ b/src/3rdparty/Qt-Advanced-Docking-System/CMakeLists.txt
+@@ -1,4 +1,4 @@
+-cmake_minimum_required(VERSION 3.5)
++cmake_minimum_required(VERSION 3.16)
+ 
+ if (POLICY CMP0091)
+   cmake_policy(SET CMP0091 NEW)
+diff --git a/src/3rdparty/Qt-Advanced-Docking-System/src/CMakeLists.txt 
b/src/3rdparty/Qt-Advanced-Docking-System/src/CMakeLists.txt
+index dbe3b7a6f..a47896a16 100644
+--- a/src/3rdparty/Qt-Advanced-Docking-System/src/CMakeLists.txt
++++ b/src/3rdparty/Qt-Advanced-Docking-System/src/CMakeLists.txt
+@@ -1,4 +1,4 @@
+-cmake_minimum_required(VERSION 3.5)
++cmake_minimum_required(VERSION 3.16)
+ project(QtAdvancedDockingSystem LANGUAGES CXX VERSION ${VERSION_SHORT})
+ include(GNUInstallDirs)
+ if (${QT_VERSION_MAJOR})

diff --git a/sci-visualization/labplot/labplot-2.11.1-r1.ebuild 
b/sci-visualization/labplot/labplot-2.11.1-r1.ebuild
index a382637f85a0..8cca41d72352 100644
--- a/sci-visualization/labplot/labplot-2.11.1-r1.ebuild
+++ b/sci-visualization/labplot/labplot-2.11.1-r1.ebuild
@@ -76,7 +76,10 @@ BDEPEND="
        sys-devel/gettext
 "
 
-PATCHES=( "${FILESDIR}/${P}-ods-buildfix.patch" )
+PATCHES=(
+       "${FILESDIR}/${P}-ods-buildfix.patch"
+       "${FILESDIR}/${P}-qtads-cmake-minreqver-3.16.patch" # bug #965103
+)
 
 src_prepare() {
        # bug 958185

Reply via email to