From f9f601a8838ce9a1eea2e2e90532fd7618fd9b13 Mon Sep 17 00:00:00 2001 From: Pacho Ramos Date: Thu, 25 Aug 2016 19:01:57 +0200 Subject: app-mobilephone/kannel: Fix starting with supplementary group ID's (#512500 by Ján Regeš). MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Package-Manager: portage-2.3.0 --- app-mobilephone/kannel/files/kannel-1.5.0-initgroups.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 app-mobilephone/kannel/files/kannel-1.5.0-initgroups.patch (limited to 'app-mobilephone/kannel/files') 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 -- cgit v1.2.3-65-gdbad