summaryrefslogtreecommitdiff
path: root/libre/systemd/0002-Disable-SYSTEMD_URLIFY-by-default.patch
diff options
context:
space:
mode:
Diffstat (limited to 'libre/systemd/0002-Disable-SYSTEMD_URLIFY-by-default.patch')
-rw-r--r--libre/systemd/0002-Disable-SYSTEMD_URLIFY-by-default.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/libre/systemd/0002-Disable-SYSTEMD_URLIFY-by-default.patch b/libre/systemd/0002-Disable-SYSTEMD_URLIFY-by-default.patch
new file mode 100644
index 000000000..b2f04ee7a
--- /dev/null
+++ b/libre/systemd/0002-Disable-SYSTEMD_URLIFY-by-default.patch
@@ -0,0 +1,23 @@
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
+From: "Jan Alexander Steffens (heftig)" <jan.steffens@gmail.com>
+Date: Mon, 29 Mar 2021 00:12:34 +0000
+Subject: [PATCH] Disable SYSTEMD_URLIFY by default
+
+Until https://github.com/gwsw/less/issues/140 is fixed.
+---
+ src/shared/pretty-print.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/shared/pretty-print.c b/src/shared/pretty-print.c
+index 0f02f32760..1d0f9901dd 100644
+--- a/src/shared/pretty-print.c
++++ b/src/shared/pretty-print.c
+@@ -28,7 +28,7 @@ bool urlify_enabled(void) {
+ if (val >= 0)
+ cached_urlify_enabled = val;
+ else
+- cached_urlify_enabled = colors_enabled();
++ cached_urlify_enabled = 0;
+ }
+
+ return cached_urlify_enabled;