diff options
Diffstat (limited to 'source/kde/kde/patch')
-rw-r--r-- | source/kde/kde/patch/dolphin.patch | 2 | ||||
-rw-r--r-- | source/kde/kde/patch/dolphin/dolphin_revert_noroot.patch | 16 | ||||
-rw-r--r-- | source/kde/kde/patch/kate.patch | 3 | ||||
-rw-r--r-- | source/kde/kde/patch/kate/kate_runasroot.patch | 32 |
4 files changed, 0 insertions, 53 deletions
diff --git a/source/kde/kde/patch/dolphin.patch b/source/kde/kde/patch/dolphin.patch deleted file mode 100644 index 39969935f..000000000 --- a/source/kde/kde/patch/dolphin.patch +++ /dev/null @@ -1,2 +0,0 @@ -# Let the user decide whether they want to run Dolphin as root: -cat $CWD/patch/dolphin/dolphin_revert_noroot.patch | patch -p1 --verbose || { touch ${SLACK_KDE_BUILD_DIR}/${PKGNAME}.failed ; continue ; } diff --git a/source/kde/kde/patch/dolphin/dolphin_revert_noroot.patch b/source/kde/kde/patch/dolphin/dolphin_revert_noroot.patch deleted file mode 100644 index 3930959b3..000000000 --- a/source/kde/kde/patch/dolphin/dolphin_revert_noroot.patch +++ /dev/null @@ -1,16 +0,0 @@ ---- ./src/main.cpp.orig 2022-04-22 02:04:31.917318278 -0500 -+++ ./src/main.cpp 2022-04-22 02:05:16.203319268 -0500 -@@ -48,13 +48,11 @@ - "Instead use Dolphin normally and you will be prompted for elevated privileges when " - "performing file operations that require them." - << std::endl; -- return EXIT_FAILURE; - } else if (!qEnvironmentVariableIsEmpty("KDESU_USER")) { - std::cout << "Running Dolphin with kdesu can cause bugs and expose you to security vulnerabilities. " - "Instead use Dolphin normally and you will be prompted for elevated privileges when " - "performing file operations that require them." - << std::endl; -- return EXIT_FAILURE; - } - } - #endif diff --git a/source/kde/kde/patch/kate.patch b/source/kde/kde/patch/kate.patch deleted file mode 100644 index 59df062a0..000000000 --- a/source/kde/kde/patch/kate.patch +++ /dev/null @@ -1,3 +0,0 @@ -# Allow Kate to be started by the root user; disallowing this is not -# a decision that a developer should make for the user, it is patronizing: -cat $CWD/patch/kate/kate_runasroot.patch | patch -p1 --verbose || { touch ${SLACK_KDE_BUILD_DIR}/${PKGNAME}.failed ; continue ; } diff --git a/source/kde/kde/patch/kate/kate_runasroot.patch b/source/kde/kde/patch/kate/kate_runasroot.patch deleted file mode 100644 index 3b602bbd3..000000000 --- a/source/kde/kde/patch/kate/kate_runasroot.patch +++ /dev/null @@ -1,32 +0,0 @@ ---- ./apps/kwrite/main.cpp.orig 2022-08-10 16:31:50.000000000 -0500 -+++ ./apps/kwrite/main.cpp 2022-08-18 14:52:20.879066078 -0500 -@@ -32,13 +32,11 @@ - "Instead use KWrite normally and you will be prompted for elevated privileges when " - "saving documents if needed." - << std::endl; -- return EXIT_FAILURE; - } else if (!qEnvironmentVariableIsEmpty("KDESU_USER")) { - std::cout << "Running KWrite with kdesu can cause bugs and expose you to security vulnerabilities. " - "Instead use KWrite normally and you will be prompted for elevated privileges when " - "saving documents if needed." - << std::endl; -- return EXIT_FAILURE; - } - } - #endif ---- ./apps/kate/main.cpp.orig 2022-08-10 16:31:50.000000000 -0500 -+++ ./apps/kate/main.cpp 2022-08-18 14:52:20.879066078 -0500 -@@ -52,13 +52,11 @@ - "Instead use Kate normally and you will be prompted for elevated privileges when " - "saving documents if needed." - << std::endl; -- return EXIT_FAILURE; - } else if (!qEnvironmentVariableIsEmpty("KDESU_USER")) { - std::cout << "Running Kate with kdesu can cause bugs and expose you to security vulnerabilities. " - "Instead use Kate normally and you will be prompted for elevated privileges when " - "saving documents if needed." - << std::endl; -- return EXIT_FAILURE; - } - } - #endif |