summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-09-02 03:25:41 +0100
committerSam James <sam@gentoo.org>2024-09-02 03:25:41 +0100
commit8e221ed6c0979b6297d8ec40b1e41552d60f85ac (patch)
tree6d18c260a2cbf4449ff5d244fc91b8076e2d0df7 /sys-auth
parentprofiles/arch/amd64: un-stable-mask USE=amf (diff)
downloadgentoo-8e221ed6c0979b6297d8ec40b1e41552d60f85ac.tar.gz
gentoo-8e221ed6c0979b6297d8ec40b1e41552d60f85ac.tar.bz2
gentoo-8e221ed6c0979b6297d8ec40b1e41552d60f85ac.zip
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@gentoo.org>
Diffstat (limited to 'sys-auth')
-rw-r--r--sys-auth/polkit/polkit-9999-r1.ebuild1
1 files changed, 1 insertions, 0 deletions
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
}