commit:     8e221ed6c0979b6297d8ec40b1e41552d60f85ac
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Sep  2 02:25:41 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Sep  2 02:25:41 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e221ed6

sys-auth/polkit: improve 9999-r1 hacks

We want to work with elogind for all commits we test. We don't care about this 
test
ebuild working with systemd, so hacky sed it is.

Bug: https://bugs.gentoo.org/923614
Bug: https://bugs.gentoo.org/934314
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-auth/polkit/polkit-9999-r1.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys-auth/polkit/polkit-9999-r1.ebuild 
b/sys-auth/polkit/polkit-9999-r1.ebuild
index 82bc0ef5d905..431d20a6a5f4 100644
--- a/sys-auth/polkit/polkit-9999-r1.ebuild
+++ b/sys-auth/polkit/polkit-9999-r1.ebuild
@@ -100,6 +100,7 @@ src_prepare() {
        patch -p1 -f < "${FILESDIR}"/${PN}-124-systemd.patch
        patch -p1 -f < "${FILESDIR}"/${PN}-124-systemd-fixup.patch
        patch -p1 -f < "${FILESDIR}"/${PN}-124-c99-fixes.patch
+       sed -i -e "s:dependency('systemd':dependency('libelogind':" meson.build 
|| die
 
        sed -i -e 's|unix-group:wheel|unix-user:0|' 
src/polkitbackend/*-default.rules || die
 }

Reply via email to