diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-12-22 13:48:31 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-12-22 13:48:31 +0000 |
commit | 9173f73d44f3cbc858477bd71e7680ede7d98e0d (patch) | |
tree | ae2808502a372289467a6ce425f580c1473ee15e /sys-process/systemd-cron/files | |
parent | 591f45259704c7c0c4289228107c6ee61457420e (diff) |
gentoo auto-resync : 22:12:2023 - 13:48:30
Diffstat (limited to 'sys-process/systemd-cron/files')
-rw-r--r-- | sys-process/systemd-cron/files/systemd-cron-1.15.19-default-mail-user.patch | 28 | ||||
-rw-r--r-- | sys-process/systemd-cron/files/systemd-cron-2.1.3-MAYBE_DUPA_SIGABRT.patch | 30 |
2 files changed, 0 insertions, 58 deletions
diff --git a/sys-process/systemd-cron/files/systemd-cron-1.15.19-default-mail-user.patch b/sys-process/systemd-cron/files/systemd-cron-1.15.19-default-mail-user.patch deleted file mode 100644 index 420f68d81091..000000000000 --- a/sys-process/systemd-cron/files/systemd-cron-1.15.19-default-mail-user.patch +++ /dev/null @@ -1,28 +0,0 @@ -From 525410d5dc2a7c33590d25d6c574dec7eb826ec1 Mon Sep 17 00:00:00 2001 -From: Richard Freeman <rich0@gentoo.org> -Date: Mon, 25 Jul 2022 15:36:21 -0400 -Subject: [PATCH] Fix default user fallback. - -Signed-off-by: Richard Freeman <rich0@gentoo.org> ---- - src/bin/mail_on_failure.py | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -diff --git a/src/bin/mail_on_failure.py b/src/bin/mail_on_failure.py -index 132eab9..dd2288f 100755 ---- a/src/bin/mail_on_failure.py -+++ b/src/bin/mail_on_failure.py -@@ -26,7 +26,9 @@ user = subprocess.check_output( - ['systemctl', 'show', args.unit, '--property=User'], - universal_newlines=True) - user = user.rstrip('\n') --user = user.split('=')[1] if user else 'root' -+user = user.split('=')[1] -+if not user: -+ user = 'root' - - mailto = user - mailfrom = 'root' --- -2.35.1 - diff --git a/sys-process/systemd-cron/files/systemd-cron-2.1.3-MAYBE_DUPA_SIGABRT.patch b/sys-process/systemd-cron/files/systemd-cron-2.1.3-MAYBE_DUPA_SIGABRT.patch deleted file mode 100644 index 93d44a15c8f2..000000000000 --- a/sys-process/systemd-cron/files/systemd-cron-2.1.3-MAYBE_DUPA_SIGABRT.patch +++ /dev/null @@ -1,30 +0,0 @@ -From acd77f59d58d9ec812f64c833a5e029b9dbae92a Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?=D0=BD=D0=B0=D0=B1?= <nabijaczleweli@nabijaczleweli.xyz> -Date: Sun, 24 Sep 2023 01:27:09 +0200 -Subject: [PATCH] MAYBE_DUPA needs to work around helpful toolchains that make - string_view::operator[] actually be ::at() - -Closes: #134 ---- - src/include/libvoreutils.hpp | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -diff --git a/src/include/libvoreutils.hpp b/src/include/libvoreutils.hpp -index 02fad8e..eaa7adc 100644 ---- a/src/include/libvoreutils.hpp -+++ b/src/include/libvoreutils.hpp -@@ -361,10 +361,10 @@ namespace vore { - #endif - - --#define MAYBE_DUPA(strv) \ -- __extension__({ \ -- auto && _strv = strv; \ -- _strv[_strv.size()] ? strndupa(_strv.data(), _strv.size()) : _strv.data(); \ -+#define MAYBE_DUPA(strv) \ -+ __extension__({ \ -+ auto && _strv = strv; \ -+ _strv.data()[_strv.size()] ? strndupa(_strv.data(), _strv.size()) : _strv.data(); \ - }) - - |