diff options
author | Pacho Ramos <pacho@gentoo.org> | 2016-08-25 19:01:57 +0200 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2016-08-25 19:01:57 +0200 |
commit | f9f601a8838ce9a1eea2e2e90532fd7618fd9b13 (patch) | |
tree | 77223432ddb9c6ea1e2843b9f1a34a2fab334ff1 /app-mobilephone/kannel/files | |
parent | net-im/mu-conference: Drop old (diff) | |
download | gentoo-f9f601a8838ce9a1eea2e2e90532fd7618fd9b13.tar.gz gentoo-f9f601a8838ce9a1eea2e2e90532fd7618fd9b13.tar.bz2 gentoo-f9f601a8838ce9a1eea2e2e90532fd7618fd9b13.zip |
app-mobilephone/kannel: Fix starting with supplementary group ID's (#512500 by Ján Regeš).
Package-Manager: portage-2.3.0
Diffstat (limited to 'app-mobilephone/kannel/files')
-rw-r--r-- | app-mobilephone/kannel/files/kannel-1.5.0-initgroups.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/app-mobilephone/kannel/files/kannel-1.5.0-initgroups.patch b/app-mobilephone/kannel/files/kannel-1.5.0-initgroups.patch new file mode 100644 index 000000000000..665ca6dc5953 --- /dev/null +++ b/app-mobilephone/kannel/files/kannel-1.5.0-initgroups.patch @@ -0,0 +1,11 @@ +--- a/gwlib/utils.c.old 2016-08-25 18:52:59.944949612 +0200 ++++ b/gwlib/utils.c 2016-08-25 18:53:30.352659566 +0200 +@@ -387,7 +387,7 @@ + } + + #ifndef __INTERIX +- if (initgroups(user, -1) == -1) { ++ if (initgroups(user, pass->pw_gid) == -1) { + error(errno, "Could not set supplementary group ID's."); + } + #endif |