summaryrefslogtreecommitdiff
path: root/net-irc/kvirc/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-05-28 15:14:55 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-05-28 15:14:55 +0100
commite5346f2f512bd7faf413f3de3ef7fbcfbcd974b3 (patch)
tree44147dcd86c1974cea8fa5e6914b2b4428d4ec28 /net-irc/kvirc/files
parentdd543f86f47d3b1796d2190759773c75779ba7ad (diff)
gentoo auto-resync : 28:05:2023 - 15:14:55
Diffstat (limited to 'net-irc/kvirc/files')
-rw-r--r--net-irc/kvirc/files/kvirc-5.2_pre20210630233331-fixqprocess.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/net-irc/kvirc/files/kvirc-5.2_pre20210630233331-fixqprocess.patch b/net-irc/kvirc/files/kvirc-5.2_pre20210630233331-fixqprocess.patch
new file mode 100644
index 000000000000..2127dcc3f1ce
--- /dev/null
+++ b/net-irc/kvirc/files/kvirc-5.2_pre20210630233331-fixqprocess.patch
@@ -0,0 +1,29 @@
+commit b4405b0c3dbd00c31d20597360249966bfd627c9
+Author: Alexey Sokolov <sokolov@google.com>
+Date: Sat May 27 12:46:34 2023 +0100
+
+ Fix includes, QProcess is used not only without KDE
+
+ https://bugs.gentoo.org/906940
+
+diff --git a/src/modules/system/libkvisystem.cpp b/src/modules/system/libkvisystem.cpp
+index 2abab2c10..842d3fa3f 100644
+--- a/src/modules/system/libkvisystem.cpp
++++ b/src/modules/system/libkvisystem.cpp
+@@ -50,12 +50,13 @@
+ #endif
+
+ #ifdef COMPILE_KDE_SUPPORT
+-#include <KToolInvocation> // invokeTerminal() for system.runcmd
+-#else // tools we need to work around the absence of
++// invokeTerminal() for system.runcmd
++// tools we need to work around the absence of
++#include <KToolInvocation>
++#endif
+ // invokeTerminal()
+ #include <QProcess>
+ #include <QStringList>
+-#endif
+
+ PluginManager * g_pPluginManager;
+