diff options
author | 2022-12-10 15:24:04 +0100 | |
---|---|---|
committer | 2022-12-10 15:25:11 +0100 | |
commit | fe3f01e2d278213c90d28b5e7eb6c4299ddca808 (patch) | |
tree | 02b186986f696664d05218eb06eab932f768f063 /kde-apps/yakuake/files | |
parent | net-im/neochat: add 22.11 (diff) | |
download | gentoo-fe3f01e2d278213c90d28b5e7eb6c4299ddca808.tar.gz gentoo-fe3f01e2d278213c90d28b5e7eb6c4299ddca808.tar.bz2 gentoo-fe3f01e2d278213c90d28b5e7eb6c4299ddca808.zip |
kde-apps/yakuake: Fix build with USE=-absolute-position
Closes: https://bugs.gentoo.org/885101
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-apps/yakuake/files')
-rw-r--r-- | kde-apps/yakuake/files/yakuake-22.12.0-missing-header.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/kde-apps/yakuake/files/yakuake-22.12.0-missing-header.patch b/kde-apps/yakuake/files/yakuake-22.12.0-missing-header.patch new file mode 100644 index 000000000000..ae43268397ca --- /dev/null +++ b/kde-apps/yakuake/files/yakuake-22.12.0-missing-header.patch @@ -0,0 +1,33 @@ +From 1f2df3b0f57f5b3f4e4a5da8608cccde4edb2de5 Mon Sep 17 00:00:00 2001 +From: Andreas Sturmlechner <asturm@gentoo.org> +Date: Sat, 10 Dec 2022 12:22:46 +0100 +Subject: [PATCH] Re-add missing header when building without KF5Wayland + +Otherwise we rely on KWayland/Client/surface.h to implicitly provide +QWindow which may not be available. + +Partial revert of 9b93462943ab26ab015989321881dee13404d711 +See also: https://invent.kde.org/utilities/yakuake/-/merge_requests/80 + +Downstream report: https://bugs.gentoo.org/885101 + +Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> +--- + app/mainwindow.cpp | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/app/mainwindow.cpp b/app/mainwindow.cpp +index 4ea361e..8b0aab3 100644 +--- a/app/mainwindow.cpp ++++ b/app/mainwindow.cpp +@@ -42,6 +42,7 @@ + #include <QPainter> + #include <QScreen> + #include <QWhatsThis> ++#include <QWindow> + + #if HAVE_X11 + #if QT_VERSION < QT_VERSION_CHECK(6, 0, 0) +-- +2.38.1 + |