summaryrefslogtreecommitdiff
path: root/sysutils/runit-faster/files/patch-src_chkshsgr.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/runit-faster/files/patch-src_chkshsgr.c')
-rw-r--r--sysutils/runit-faster/files/patch-src_chkshsgr.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/sysutils/runit-faster/files/patch-src_chkshsgr.c b/sysutils/runit-faster/files/patch-src_chkshsgr.c
new file mode 100644
index 000000000000..d88355d58005
--- /dev/null
+++ b/sysutils/runit-faster/files/patch-src_chkshsgr.c
@@ -0,0 +1,11 @@
+--- src/chkshsgr.c.orig 2018-03-05 09:33:03 UTC
++++ src/chkshsgr.c
+@@ -4,7 +4,7 @@
+
+ int main()
+ {
+- short x[4];
++ gid_t x[4];
+
+ x[0] = x[1] = 0;
+ if (getgroups(1,x) == 0) if (setgroups(1,x) == -1) _exit(1);