summaryrefslogtreecommitdiff
path: root/kde-apps/kate-addons
diff options
context:
space:
mode:
Diffstat (limited to 'kde-apps/kate-addons')
-rw-r--r--kde-apps/kate-addons/Manifest3
-rw-r--r--kde-apps/kate-addons/files/kate-23.08.4-no-pch.patch58
-rw-r--r--kde-apps/kate-addons/kate-addons-23.08.4.ebuild4
3 files changed, 64 insertions, 1 deletions
diff --git a/kde-apps/kate-addons/Manifest b/kde-apps/kate-addons/Manifest
index b594314d0873..69dba6660220 100644
--- a/kde-apps/kate-addons/Manifest
+++ b/kde-apps/kate-addons/Manifest
@@ -1,3 +1,4 @@
+AUX kate-23.08.4-no-pch.patch 1636 BLAKE2B 81e0b092582f4638a639a66be778c8dd75704ee3b840404e7a97ac6aaf8959abfeb150a27ca44d053982f7ae4c31cba11a3570ebb1fc5b036be689d79858a393 SHA512 37eb091d815a9b744a5335ab23b863a03d4d777ddabf10d1ebac62d1e1a2356b47bc8f8592bcfb7711540084780a0cd51c9733ae02036d20b8757a7874b29f9c
DIST kate-23.08.4.tar.xz 8043840 BLAKE2B 0aa8f983612b5873489aa23da3024c793d57b7d7c1f5b6fa35a45c34c53584e06490db4ba5bff77a8917476d72e78bb081af42205a51e58329a12790eb96e872 SHA512 99b147940809149c93a9a79bcf5263db650f3afa1fbef5158d20ed88608e3794dc8d1357d7c0119369b690dbfcd63e369a009171c3b4a99559246f876bafe28a
-EBUILD kate-addons-23.08.4.ebuild 2974 BLAKE2B acbb352b0b6e924c0fb73435f373bc23656358eb2bb9ca3f7511e1fea2344ffb68d3b9bd6bcf258b717e1e554af61b0fa0ff53d72d06628da856c9bc300909f1 SHA512 c2d541ae6b0299cd4e79ca4786bb9c7c815e0ab6c274d95aaa670def0a278a3bc5c5dc245ed8fd3acb6c6cc72cfd2cb431bf031dacce06fccb0225c8967daf83
+EBUILD kate-addons-23.08.4.ebuild 3028 BLAKE2B 9463610c3a4ea6fb979072a74073c86e4386867a6b3bdfb91c6b9d3027599728e831a1b0213113984d348651a528ff9182085a141548fd8a2a50f2f871b3d3b0 SHA512 69a32484046f7b5b033a4865e0da1c7b11bc8b0b32b9b1e15a048ebf8911b870e436d0957773851ffe77c896acc74560048c59662a60ade4d47b5a7728f38397
MISC metadata.xml 751 BLAKE2B 01d2cfdb4e2849372da5d8f1a02d54b875741cc2674d293cd376396ca83ddcf426acb04ae61749bb2a969f4d95fb969d8149bda79de24a773f98473e7b728d2c SHA512 d84414311962de3f2eb9082c2b54d074cfaee3bce5b9ce572f593b373762f913ca60d8bd180e06627ef62f8194e8a394bcfc12f077f6598d95736723d9482af4
diff --git a/kde-apps/kate-addons/files/kate-23.08.4-no-pch.patch b/kde-apps/kate-addons/files/kate-23.08.4-no-pch.patch
new file mode 100644
index 000000000000..89ef142fbd2c
--- /dev/null
+++ b/kde-apps/kate-addons/files/kate-23.08.4-no-pch.patch
@@ -0,0 +1,58 @@
+https://bugs.gentoo.org/921720
+https://invent.kde.org/utilities/kate/-/issues/116
+https://invent.kde.org/utilities/kate/-/merge_requests/1387
+
+From 83fcf7b4e7cc7bc54828192e9b89cfb286d864fd Mon Sep 17 00:00:00 2001
+From: Aleix Pol <aleixpol@kde.org>
+Date: Tue, 19 Sep 2023 16:34:49 +0200
+Subject: [PATCH] Fix build
+
+Ever since I last updated, I've started to get errors about includes
+missing, so I've added them.
+
+(cherry picked from commit 73d090f7f7cb7cc013f31c7b572ca78a7fbeb5b8)
+---
+ addons/git-blame/kategitblameplugin.h | 1 +
+ addons/project/git/gitstatus.h | 1 +
+ apps/lib/ktexteditor_utils.h | 2 ++
+ 3 files changed, 4 insertions(+)
+
+diff --git a/addons/git-blame/kategitblameplugin.h b/addons/git-blame/kategitblameplugin.h
+index 0a87f700e8..4c3d4a977f 100644
+--- a/addons/git-blame/kategitblameplugin.h
++++ b/addons/git-blame/kategitblameplugin.h
+@@ -20,6 +20,7 @@
+ #include <QLocale>
+ #include <QPointer>
+ #include <QTimer>
++#include <QUrl>
+ #include <QVariant>
+ #include <QVector>
+
+diff --git a/addons/project/git/gitstatus.h b/addons/project/git/gitstatus.h
+index 7caad963eb..dcf01b66c9 100644
+--- a/addons/project/git/gitstatus.h
++++ b/addons/project/git/gitstatus.h
+@@ -5,6 +5,7 @@
+ */
+ #pragma once
+
++#include <QSet>
+ #include <QString>
+ #include <QVector>
+
+diff --git a/apps/lib/ktexteditor_utils.h b/apps/lib/ktexteditor_utils.h
+index ac3f218870..d9d4e6fdaa 100644
+--- a/apps/lib/ktexteditor_utils.h
++++ b/apps/lib/ktexteditor_utils.h
+@@ -7,6 +7,8 @@
+ #include "kateprivate_export.h"
+
+ #include <QString>
++#include <QUrl>
++#include <QWidgetList>
+
+ QT_BEGIN_NAMESPACE
+ class QScrollBar;
+--
+GitLab
diff --git a/kde-apps/kate-addons/kate-addons-23.08.4.ebuild b/kde-apps/kate-addons/kate-addons-23.08.4.ebuild
index 576e3bed7006..fc6c2a7e8b47 100644
--- a/kde-apps/kate-addons/kate-addons-23.08.4.ebuild
+++ b/kde-apps/kate-addons/kate-addons-23.08.4.ebuild
@@ -62,6 +62,10 @@ RDEPEND="${DEPEND}
!<kde-apps/kate-22.08.0:5
"
+PATCHES=(
+ "${FILESDIR}"/kate-23.08.4-no-pch.patch
+)
+
src_prepare() {
ecm_src_prepare