summaryrefslogtreecommitdiff
path: root/x11/kde4-runtime/files/patch-kdesu_kdesu_kdesu.cpp
diff options
context:
space:
mode:
authorTobias C. Berner <tcberner@FreeBSD.org>2018-02-22 19:03:17 +0000
committerTobias C. Berner <tcberner@FreeBSD.org>2018-02-22 19:03:17 +0000
commita4a7daf069cba3ae4b90d832aa9df7624b4626a3 (patch)
tree3aad51132f546ad79059b32784badc3f6a42c8ff /x11/kde4-runtime/files/patch-kdesu_kdesu_kdesu.cpp
parentmultimedia/kodi: Disabled LIBBLURAY by default because every other port has i... (diff)
Give the KDE SC4 applications ports a -kde4 suffix
In order to make room for the up-to-date version of the KDE Desktop and its applications move the KDE Application ports based on Qt4. PR: 225992 Exp-run by: antoine Reviewed by: rakuco, adridg Differential Revision: https://reviews.freebsd.org/D14413
Notes
Notes: svn path=/head/; revision=462619
Diffstat (limited to 'x11/kde4-runtime/files/patch-kdesu_kdesu_kdesu.cpp')
-rw-r--r--x11/kde4-runtime/files/patch-kdesu_kdesu_kdesu.cpp27
1 files changed, 0 insertions, 27 deletions
diff --git a/x11/kde4-runtime/files/patch-kdesu_kdesu_kdesu.cpp b/x11/kde4-runtime/files/patch-kdesu_kdesu_kdesu.cpp
deleted file mode 100644
index 2b0b1754bedc..000000000000
--- a/x11/kde4-runtime/files/patch-kdesu_kdesu_kdesu.cpp
+++ /dev/null
@@ -1,27 +0,0 @@
-Fix for https://www.kde.org/info/security/advisory-20160930-1.txt
---- kdesu/kdesu/kdesu.cpp.orig 2014-10-30 23:50:20 UTC
-+++ kdesu/kdesu/kdesu.cpp
-@@ -141,6 +141,10 @@ int main(int argc, char *argv[])
- {
- KMessageBox::sorry(0, i18n("Cannot execute command '%1'.", QString::fromLocal8Bit(command)));
- }
-+ if (result == -2)
-+ {
-+ KMessageBox::sorry(0, i18n("Cannot execute command '%1'. It contains invalid characters.", QString::fromLocal8Bit(command)));
-+ }
-
- return result;
- }
-@@ -367,6 +371,12 @@ static int startApp()
- kDebug() << "Don't need password!!\n";
- }
-
-+ for (const QChar character : QString::fromLocal8Bit(command)) {
-+ if (!character.isPrint() && character.category() != QChar::Other_Surrogate) {
-+ return -2;
-+ }
-+ }
-+
- // Start the dialog
- QString password;
- if (needpw)