mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-30 04:33:00 +02:00
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 <troglobit@gmail.com>
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user