From 1516202089eca8de5b5128a4f07991e371f1f8ce Mon Sep 17 00:00:00 2001 From: yuxqiu Date: Wed, 4 Mar 2026 22:23:55 +0800 Subject: [PATCH] earlyoom: fix patch for version 1.9.0 --- pkgs/by-name/ea/earlyoom/0000-fix-dbus-path.patch | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/ea/earlyoom/0000-fix-dbus-path.patch b/pkgs/by-name/ea/earlyoom/0000-fix-dbus-path.patch index 2b9e45dfb1c9..02d6e00454f2 100644 --- a/pkgs/by-name/ea/earlyoom/0000-fix-dbus-path.patch +++ b/pkgs/by-name/ea/earlyoom/0000-fix-dbus-path.patch @@ -1,6 +1,15 @@ --- a/kill.c +++ b/kill.c -@@ -175,7 +175,7 @@ static void notify_dbus(const char* body) +@@ -153,7 +153,7 @@ static void notify_spawn_subprocess(const char* script, char* const argv[], cons + } + + debug("%s: exec %s\n", __func__, script); +- execv(script, argv); ++ execvp(script, argv); + warn("%s: exec %s failed: %s\n", __func__, script, strerror(errno)); + exit(1); + } +@@ -177,7 +177,7 @@ static void notify_dbus(const char* body) body2, NULL };