summaryrefslogtreecommitdiff
path: root/x11-misc/xdg-utils/files/xdg-utils-1.2.0-xdg-icon-resource-syntax.patch
diff options
context:
space:
mode:
Diffstat (limited to 'x11-misc/xdg-utils/files/xdg-utils-1.2.0-xdg-icon-resource-syntax.patch')
-rw-r--r--x11-misc/xdg-utils/files/xdg-utils-1.2.0-xdg-icon-resource-syntax.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/x11-misc/xdg-utils/files/xdg-utils-1.2.0-xdg-icon-resource-syntax.patch b/x11-misc/xdg-utils/files/xdg-utils-1.2.0-xdg-icon-resource-syntax.patch
new file mode 100644
index 000000000000..272daad9073e
--- /dev/null
+++ b/x11-misc/xdg-utils/files/xdg-utils-1.2.0-xdg-icon-resource-syntax.patch
@@ -0,0 +1,21 @@
+https://gitlab.freedesktop.org/xdg/xdg-utils/-/commit/af2fe0d1dcbcd982d84ddf2bbd174afe90976ed9
+
+From af2fe0d1dcbcd982d84ddf2bbd174afe90976ed9 Mon Sep 17 00:00:00 2001
+From: Harald Sitter <sitter@kde.org>
+Date: Tue, 30 Jan 2024 11:24:41 +0100
+Subject: [PATCH] xdg-icon-resource: unbreak syntax by removing stray grave
+ accent
+
+--- a/scripts/xdg-icon-resource.in
++++ b/scripts/xdg-icon-resource.in
+@@ -306,7 +306,7 @@ fi
+ need_kde_icon_path()
+ {
+ local path
+- path="$(xdg_realpath "$1")" 2> /dev/null` # Normalize path
++ path="$(xdg_realpath "$1")" 2> /dev/null # Normalize path
+ DEBUG 2 "need_kde_icon_path $path"
+ if [ -z "$path" ] ; then
+ DEBUG 2 "need_kde_icon_path RETURN 1 (not needed, no xdg icon dir)"
+--
+GitLab