commit: 53c3a74882acd60a384e2d98fd3081fc93beb663 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> AuthorDate: Wed Jan 17 12:06:06 2018 +0000 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> CommitDate: Wed Jan 17 12:07:44 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53c3a748
sys-fs/multipath-tools: Removed unused patch. Package-Manager: Portage-2.3.19, Repoman-2.3.6 ...ath-tools-0.7.3-fix-build-without-systemd.patch | 39 ---------------------- 1 file changed, 39 deletions(-) diff --git a/sys-fs/multipath-tools/files/multipath-tools-0.7.3-fix-build-without-systemd.patch b/sys-fs/multipath-tools/files/multipath-tools-0.7.3-fix-build-without-systemd.patch deleted file mode 100644 index d92e5c05c7d..00000000000 --- a/sys-fs/multipath-tools/files/multipath-tools-0.7.3-fix-build-without-systemd.patch +++ /dev/null @@ -1,39 +0,0 @@ -From f0a874f9bd86504840a7bdbf0a0c07bcd0ea8c29 Mon Sep 17 00:00:00 2001 -From: Michael Lass <[email protected]> -Date: Wed, 20 Sep 2017 21:54:32 +0200 -Subject: [PATCH] multipathd: fix build without systemd - -do_sd_notify contains a call to sd_notify which is unknown if USE_SYSTEMD is -undefined. In this case, do_sd_notify is never called anyway, so embed the -entire function into an #ifdef USE_SYSTEMD. - -This fixes a regression introduced in 88ddca5. - -Signed-off-by: Michael Lass <[email protected]> ---- - multipathd/main.c | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/multipathd/main.c b/multipathd/main.c -index 8049da22..bbe14771 100644 ---- a/multipathd/main.c -+++ b/multipathd/main.c -@@ -169,6 +169,7 @@ sd_notify_status(void) - return NULL; - } - -+#ifdef USE_SYSTEMD - static void do_sd_notify(enum daemon_status old_state) - { - /* -@@ -181,6 +182,7 @@ static void do_sd_notify(enum daemon_status old_state) - return; - sd_notify(0, sd_notify_status()); - } -+#endif - - static void config_cleanup(void *arg) - { --- -2.14.1 -
