diff options
Diffstat (limited to 'app-mobilephone/kannel/files/kannel-1.5.0-initgroups.patch')
-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 |