summaryrefslogtreecommitdiffstats
path: root/group-systemd
diff options
context:
space:
mode:
authorWolfgang Müller2021-04-28 16:40:50 +0200
committerWolfgang Müller2021-04-28 16:40:50 +0200
commitae4a81bd5f25a484704dc933176c3f56196f39a5 (patch)
treef8fb6099a4159db3ed8101ed7643147202cc3697 /group-systemd
parent6de5eba77d7190da353ec9e836096e0bc41350f9 (diff)
downloadportage-roles-ae4a81bd5f25a484704dc933176c3f56196f39a5.tar.gz
group-systemd: Add patch restoring the regular yellow in terminal-util.h
Diffstat (limited to 'group-systemd')
-rw-r--r--group-systemd/patches/sys-apps/systemd/0001-terminal-util-Restore-previous-yellow.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/group-systemd/patches/sys-apps/systemd/0001-terminal-util-Restore-previous-yellow.patch b/group-systemd/patches/sys-apps/systemd/0001-terminal-util-Restore-previous-yellow.patch
new file mode 100644
index 0000000..766e4d7
--- /dev/null
+++ b/group-systemd/patches/sys-apps/systemd/0001-terminal-util-Restore-previous-yellow.patch
@@ -0,0 +1,30 @@
+From 547b13dd28ace87c180d6870de649fb8d5fa1ca2 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Wolfgang=20M=C3=BCller?= <wolf@oriole.systems>
+Date: Tue, 20 Apr 2021 11:07:07 +0200
+Subject: [PATCH] terminal-util: Restore previous yellow
+
+Currently terminal-util.h uses a replacement yellow that is supposedly
+more legible in some setups. The previous yellow was based on the 16
+colour palette that users can configure. Therefore it seems to me user
+error to complain about systemd's use of a "standard" yellow. Restore
+the original value.
+---
+ src/basic/terminal-util.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/basic/terminal-util.h b/src/basic/terminal-util.h
+index d327627b20..f5ad00bd70 100644
+--- a/src/basic/terminal-util.h
++++ b/src/basic/terminal-util.h
+@@ -45,7 +45,7 @@
+ #define ANSI_HIGHLIGHT_KHAKI3 "\x1B[0;1;38;5;185m"
+ #define ANSI_HIGHLIGHT_GREY "\x1B[0;1;38;5;245m"
+
+-#define ANSI_HIGHLIGHT_YELLOW ANSI_HIGHLIGHT_KHAKI3 /* Replacement yellow that is more legible */
++#define ANSI_HIGHLIGHT_YELLOW _ANSI_HIGHLIGHT_YELLOW
+
+ /* Underlined */
+ #define ANSI_GREY_UNDERLINE "\x1B[0;4;38;5;245m"
+--
+2.31.1
+