diff options
author | William Hubbs <williamh@gentoo.org> | 2023-04-12 14:20:10 -0500 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2023-04-12 14:20:28 -0500 |
commit | 7746fcb12204d080f675d7ef4765ee914d26271a (patch) | |
tree | 92f7b9c448bb4dcc301f47805980b29659a47395 /sys-apps/openrc/files | |
parent | mail-mta/postfix: add 3.9_pre20230412 (diff) | |
download | gentoo-7746fcb12204d080f675d7ef4765ee914d26271a.tar.gz gentoo-7746fcb12204d080f675d7ef4765ee914d26271a.tar.bz2 gentoo-7746fcb12204d080f675d7ef4765ee914d26271a.zip |
sys-apps/openrc: drop 0.45.2-r2
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'sys-apps/openrc/files')
-rw-r--r-- | sys-apps/openrc/files/openrc-0.45.2-grep-3.8.patch | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/sys-apps/openrc/files/openrc-0.45.2-grep-3.8.patch b/sys-apps/openrc/files/openrc-0.45.2-grep-3.8.patch deleted file mode 100644 index c6eddeec9048..000000000000 --- a/sys-apps/openrc/files/openrc-0.45.2-grep-3.8.patch +++ /dev/null @@ -1,35 +0,0 @@ -https://bugs.gentoo.org/875557 -https://github.com/OpenRC/openrc/issues/548 -https://github.com/OpenRC/openrc/commit/9380347f042f7d294317f4420b648422817eb75a - -From 9380347f042f7d294317f4420b648422817eb75a Mon Sep 17 00:00:00 2001 -From: Stefan Linke <particleflux@gmail.com> -Date: Wed, 7 Sep 2022 17:18:09 +0200 -Subject: [PATCH] Avoid warning on grep 3.8 in hwclock - -Starting with grep version 3.8, the hwclock init script logs warnings -about stray backslashes: - -> hwclock | * Setting system clock using the hardware clock [UTC] ... -> hwclock |grep: warning: stray \ before - -> hwclock |grep: warning: stray \ before - - -This is caused by the check for existence of the `--noadjfile` argument -in function `get_noadjfile()`. - -Replacing the affected logic with an explicit argument denoting the -pattern as such resolves the issue. - -Fixes #548 ---- a/init.d/hwclock.in -+++ b/init.d/hwclock.in -@@ -72,7 +72,7 @@ get_noadjfile() - { - if ! yesno $clock_adjfile; then - # Some implementations don't handle adjustments -- if LC_ALL=C hwclock --help 2>&1 | grep -q "\-\-noadjfile"; then -+ if LC_ALL=C hwclock --help 2>&1 | grep -q -e "--noadjfile"; then - echo --noadjfile - fi - fi - |