From ae4a81bd5f25a484704dc933176c3f56196f39a5 Mon Sep 17 00:00:00 2001 From: Wolfgang Müller Date: Wed, 28 Apr 2021 16:40:50 +0200 Subject: group-systemd: Add patch restoring the regular yellow in terminal-util.h --- ...001-terminal-util-Restore-previous-yellow.patch | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 group-systemd/patches/sys-apps/systemd/0001-terminal-util-Restore-previous-yellow.patch (limited to 'group-systemd/patches/sys-apps') 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?= +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 + -- cgit v1.2.3-2-gb3c3