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 + + +