commit:     70da4c7977f1d65347744378fc1bb0b886022525
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 18 19:54:34 2025 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Thu Dec 18 19:55:49 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70da4c79

sci-mathematics/rkward: Add missing header

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

 .../rkward/files/rkward-0.8.2-missing-header.patch | 24 ++++++++++++++++++++++
 sci-mathematics/rkward/rkward-0.8.2.ebuild         |  2 ++
 2 files changed, 26 insertions(+)

diff --git a/sci-mathematics/rkward/files/rkward-0.8.2-missing-header.patch 
b/sci-mathematics/rkward/files/rkward-0.8.2-missing-header.patch
new file mode 100644
index 000000000000..4984966c1103
--- /dev/null
+++ b/sci-mathematics/rkward/files/rkward-0.8.2-missing-header.patch
@@ -0,0 +1,24 @@
+From 02e95931485e610ed8e41e5dbf791a3b8fab8210 Mon Sep 17 00:00:00 2001
+From: Thomas Friedrichsmeier <[email protected]>
+Date: Sun, 12 Oct 2025 22:08:22 +0200
+Subject: [PATCH] Add missing include
+
+---
+ rkward/autotests/core_test.cpp | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/rkward/autotests/core_test.cpp b/rkward/autotests/core_test.cpp
+index 1345dfd81..76e4091d8 100644
+--- a/rkward/autotests/core_test.cpp
++++ b/rkward/autotests/core_test.cpp
+@@ -9,6 +9,7 @@ SPDX-License-Identifier: GPL-2.0-or-later
+ #include <QApplication>
+ #include <QButtonGroup>
+ #include <QDir>
++#include <QElapsedTimer>
+ #include <QFile>
+ #include <QLoggingCategory>
+ #include <QObject>
+-- 
+GitLab
+

diff --git a/sci-mathematics/rkward/rkward-0.8.2.ebuild 
b/sci-mathematics/rkward/rkward-0.8.2.ebuild
index 6de7343c4f72..246ad828cc2d 100644
--- a/sci-mathematics/rkward/rkward-0.8.2.ebuild
+++ b/sci-mathematics/rkward/rkward-0.8.2.ebuild
@@ -49,6 +49,8 @@ RDEPEND="${DEPEND}
 "
 BDEPEND="sys-devel/gettext"
 
+PATCHES=( "${FILESDIR}/${P}"-missing-header.patch ) # bug #967651
+
 pkg_postinst() {
        if [[ -z "${REPLACING_VERSIONS}" ]]; then
                optfeature "kate plugins support" "kde-apps/kate-addons:6"

Reply via email to