diff options
author | Wolfgang Müller | 2025-05-23 15:27:53 +0200 |
---|---|---|
committer | Wolfgang Müller | 2025-05-23 15:27:53 +0200 |
commit | d3c5614cd2435bbf91123db4740971a17f297f41 (patch) | |
tree | 227c6ca84d7e8b7c301147c8bc1f8e69ec19fe29 | |
parent | ed808f20ad57c17993eee96e22a40c0bde457c8a (diff) | |
download | portage-roles-d3c5614cd2435bbf91123db4740971a17f297f41.tar.gz |
init-systemd: Update "Restore previous yellow" patch
-rw-r--r-- | init-systemd/patches/sys-apps/systemd/0001-ansi-color-Restore-previous-yellow.patch | 30 | ||||
-rw-r--r-- | init-systemd/patches/sys-apps/systemd/0001-terminal-util-Restore-previous-yellow.patch | 30 |
2 files changed, 30 insertions, 30 deletions
diff --git a/init-systemd/patches/sys-apps/systemd/0001-ansi-color-Restore-previous-yellow.patch b/init-systemd/patches/sys-apps/systemd/0001-ansi-color-Restore-previous-yellow.patch new file mode 100644 index 0000000..b00312a --- /dev/null +++ b/init-systemd/patches/sys-apps/systemd/0001-ansi-color-Restore-previous-yellow.patch @@ -0,0 +1,30 @@ +From 2f68a89d75370dd7d9b9c041bdc0a44d605c2392 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Wolfgang=20M=C3=BCller?= <wolf@oriole.systems> +Date: Thu, 22 May 2025 12:37:59 +0200 +Subject: [PATCH] ansi-color: Restore previous yellow + +Currently ansi-color.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/ansi-color.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/basic/ansi-color.h b/src/basic/ansi-color.h +index f3e55e8165..760e3b8a6b 100644 +--- a/src/basic/ansi-color.h ++++ b/src/basic/ansi-color.h +@@ -65,7 +65,7 @@ void reset_ansi_feature_caches(void); + #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 /* Replacement yellow that is more legible */ + + /* Underlined */ + #define ANSI_GREY_UNDERLINE "\x1B[0;4;38:5:245m" +-- +2.49.0 + diff --git a/init-systemd/patches/sys-apps/systemd/0001-terminal-util-Restore-previous-yellow.patch b/init-systemd/patches/sys-apps/systemd/0001-terminal-util-Restore-previous-yellow.patch deleted file mode 100644 index 766e4d7..0000000 --- a/init-systemd/patches/sys-apps/systemd/0001-terminal-util-Restore-previous-yellow.patch +++ /dev/null @@ -1,30 +0,0 @@ -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 - |