summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Martin <slarti@gentoo.org>2004-08-01 22:35:07 +0000
committerTom Martin <slarti@gentoo.org>2004-08-01 22:35:07 +0000
commit95b5952d68fd31fbe9c81806258019653d44dcf3 (patch)
treefeabd15cf6841ce651e8145abdc3c10938a09652 /net-zope/zope/files
parent (Manifest recommit) (diff)
downloadgentoo-2-95b5952d68fd31fbe9c81806258019653d44dcf3.tar.gz
gentoo-2-95b5952d68fd31fbe9c81806258019653d44dcf3.tar.bz2
gentoo-2-95b5952d68fd31fbe9c81806258019653d44dcf3.zip
Marked ~amd64, added gid patch from zope.org. Closes 48696.
Diffstat (limited to 'net-zope/zope/files')
-rw-r--r--net-zope/zope/files/2.7.2/gid.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/net-zope/zope/files/2.7.2/gid.patch b/net-zope/zope/files/2.7.2/gid.patch
new file mode 100644
index 000000000000..bdfe2b81aa30
--- /dev/null
+++ b/net-zope/zope/files/2.7.2/gid.patch
@@ -0,0 +1,18 @@
+--- lib/Components/initgroups/initgroups.c
++++ lib/Components/initgroups/initgroups.c
+@@ -23,11 +23,14 @@
+ initgroups_initgroups(PyObject *self, PyObject *args)
+ {
+ char *username;
++ int igid;
+ gid_t gid;
+
+- if (!PyArg_ParseTuple(args, "sl:initgroups", &username, &gid))
++ if (!PyArg_ParseTuple(args, "si:initgroups", &username, &igid))
+ return NULL;
+
++ gid = igid;
++
+ if (initgroups(username, gid) == -1)
+ return PyErr_SetFromErrno(PyExc_OSError);
+