git: 226cc81601a3 - main - math/labplot: repair build after changes in implicit includes

From: Adriaan de Groot <adridg_at_FreeBSD.org>
Date: Mon, 01 May 2023 21:42:31 UTC
The branch main has been updated by adridg:

URL: https://cgit.FreeBSD.org/ports/commit/?id=226cc81601a34ec5c7147f1ca010f0b60d7b515d

commit 226cc81601a34ec5c7147f1ca010f0b60d7b515d
Author:     Adriaan de Groot <adridg@FreeBSD.org>
AuthorDate: 2023-05-01 21:39:15 +0000
Commit:     Adriaan de Groot <adridg@FreeBSD.org>
CommitDate: 2023-05-01 21:42:28 +0000

    math/labplot: repair build after changes in implicit includes
    
    KF5 sometimes loses implicit (transitive) includes, which
    broke the build of labplot. Repair that.
---
 .../patch-src_backend_cantorWorksheet_CantorWorksheet.cpp    | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/math/labplot/files/patch-src_backend_cantorWorksheet_CantorWorksheet.cpp b/math/labplot/files/patch-src_backend_cantorWorksheet_CantorWorksheet.cpp
new file mode 100644
index 000000000000..c044def688b7
--- /dev/null
+++ b/math/labplot/files/patch-src_backend_cantorWorksheet_CantorWorksheet.cpp
@@ -0,0 +1,12 @@
+--- src/backend/cantorWorksheet/CantorWorksheet.cpp.orig	2023-05-01 21:33:27 UTC
++++ src/backend/cantorWorksheet/CantorWorksheet.cpp
+@@ -33,6 +33,9 @@
+ #include <QModelIndex>
+ 
+ #include <KLocalizedString>
++#include <KPluginLoader>
++#include <KPluginFactory>
++#include <KPluginMetaData>
+ #include <KParts/ReadWritePart>
+ 
+ CantorWorksheet::CantorWorksheet(const QString &name, bool loading)