From 9b613138d7b743ea5acc1d9e2811a732fb2320ac Mon Sep 17 00:00:00 2001 From: Subhaditya Nath Date: Wed, 22 Jun 2022 11:40:31 +0530 Subject: [PATCH] runit: fix default service path in manpages --- srcpkgs/runit/template | 1 + 1 file changed, 1 insertion(+) diff --git a/srcpkgs/runit/template b/srcpkgs/runit/template index 68b400c1ef5c..015f9c430365 100644 --- a/srcpkgs/runit/template +++ b/srcpkgs/runit/template @@ -27,6 +27,7 @@ pre_build() { echo "$CC $LDFLAGS -Wl,-z -Wl,noexecstack" >conf-ld # set default service path to /var/service sed -i -e 's:^char \*varservice ="/service/";$:char \*varservice ="/var/service/";:' sv.c + (cd ../man; sed -i -e s:/service:/var/service:g *;) # change type short to gid_t for getgroups(2) and setgroups(2) sed -i -e 's:short x\[4\];$:gid_t x[4];:' chkshsgr.c }