summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/openrc/files/openrc-0.44.4-fix-build.patch')
-rw-r--r--sys-apps/openrc/files/openrc-0.44.4-fix-build.patch36
1 files changed, 36 insertions, 0 deletions
diff --git a/sys-apps/openrc/files/openrc-0.44.4-fix-build.patch b/sys-apps/openrc/files/openrc-0.44.4-fix-build.patch
new file mode 100644
index 00000000000..f9f91e5d337
--- /dev/null
+++ b/sys-apps/openrc/files/openrc-0.44.4-fix-build.patch
@@ -0,0 +1,36 @@
+From 28865d994099c4608cbd80f135f0733c1020ed5c Mon Sep 17 00:00:00 2001
+From: William Hubbs <w.d.hubbs@gmail.com>
+Date: Fri, 17 Sep 2021 14:24:36 -0500
+Subject: [PATCH] fix build for openrc and runscript
+
+X-Gentoo-Bug: 813483
+X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=813483
+---
+ src/rc/meson.build | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/src/rc/meson.build b/src/rc/meson.build
+index fb9de00b..3898ac0c 100644
+--- a/src/rc/meson.build
++++ b/src/rc/meson.build
+@@ -53,7 +53,7 @@ executable('openrc-run',
+ rc_selinux_c, version_h],
+ c_args : [cc_audit_flags, cc_branding_flags, cc_pam_flags, cc_selinux_flags],
+ link_with: [libeinfo, librc],
+- dependencies: [dl_dep, libpam, selinux_dep, util_dep],
++ dependencies: [audit_dep, dl_dep, libpam, libpam_misc, selinux_dep, util_dep],
+ include_directories: [incdir, einfo_incdir, rc_incdir],
+ install: true,
+ install_dir: sbindir)
+@@ -88,7 +88,7 @@ executable('runscript',
+ rc_selinux_c, version_h],
+ c_args : [cc_audit_flags, cc_branding_flags, cc_pam_flags, cc_selinux_flags],
+ link_with: [libeinfo, librc],
+- dependencies: [dl_dep, libpam, util_dep, selinux_dep],
++ dependencies: [audit_dep, dl_dep, libpam, util_dep, selinux_dep],
+ include_directories: [incdir, einfo_incdir, rc_incdir],
+ install: true,
+ install_dir: sbindir)
+--
+2.32.0
+