From fd58eaba4c1982c2fd65dda7545835a746c49907 Mon Sep 17 00:00:00 2001 From: Joachim Wiberg Date: Sun, 5 Nov 2023 23:57:48 +0100 Subject: [PATCH] package/finit: backport critical runpath fix from upstream Both the dbus plugin and runparts were slightly broken in Finit v4.5. For details, see https://github.com/troglobit/finit/issues/383 Signed-off-by: Joachim Wiberg --- package/finit/0001-configure-runpath.patch | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 package/finit/0001-configure-runpath.patch diff --git a/package/finit/0001-configure-runpath.patch b/package/finit/0001-configure-runpath.patch new file mode 100644 index 00000000..62002232 --- /dev/null +++ b/package/finit/0001-configure-runpath.patch @@ -0,0 +1,19 @@ +--- a/configure 2023-11-05 23:39:51.907334321 +0100 ++++ b/configure 2023-11-05 23:39:58.339299795 +0100 +@@ -15352,7 +15352,15 @@ + printf "%s\n" "#define FINIT_EXECPATH_ \"$pkglibexecdir\"" >>confdefs.h + + +-printf "%s\n" "#define FINIT_RUNPATH_ \"$runstatedir/finit/system\"" >>confdefs.h ++ finit_runpath="$runstatedir/finit/system" ++ finit_runpath=`( ++ test "x$prefix" = xNONE && prefix="$ac_default_prefix" ++ test "x$exec_prefix" = xNONE && exec_prefix="${prefix}" ++ eval echo \""$finit_runpath"\" ++ )` ++ ++ ++printf "%s\n" "#define FINIT_RUNPATH_ \"$finit_runpath\"" >>confdefs.h + + +