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
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')
-rw-r--r--net-zope/zope/ChangeLog6
-rw-r--r--net-zope/zope/files/2.7.2/gid.patch18
-rw-r--r--net-zope/zope/zope-2.7.2.ebuild11
3 files changed, 32 insertions, 3 deletions
diff --git a/net-zope/zope/ChangeLog b/net-zope/zope/ChangeLog
index 39a8184eb0b4..586d5c650667 100644
--- a/net-zope/zope/ChangeLog
+++ b/net-zope/zope/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-zope/zope
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-zope/zope/ChangeLog,v 1.38 2004/07/27 16:02:41 batlogg Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-zope/zope/ChangeLog,v 1.39 2004/08/01 22:35:07 slarti Exp $
+
+ 01 Aug 2004; Tom Martin <slarti@gentoo.org> zope-2.7.2.ebuild:
+ Marked ~amd64, added gid.patch. Closing bug 48696 (thanks to Markus Gapp
+ <markus.gapp@tznets.com>.
27 Jul 2004; Jodok Batlogg <batlogg@gentoo.org>; zope-2.6.4-r1.ebuild,
zope-2.7.1.ebuild, zope-2.7.2.ebuild:
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);
+
diff --git a/net-zope/zope/zope-2.7.2.ebuild b/net-zope/zope/zope-2.7.2.ebuild
index 7d1972238a53..4802b7bff2d4 100644
--- a/net-zope/zope/zope-2.7.2.ebuild
+++ b/net-zope/zope/zope-2.7.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-zope/zope/zope-2.7.2.ebuild,v 1.3 2004/07/27 16:02:41 batlogg Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-zope/zope/zope-2.7.2.ebuild,v 1.4 2004/08/01 22:35:07 slarti Exp $
inherit eutils
@@ -10,7 +10,7 @@ SRC_URI="http://www.zope.org/Products/Zope/${PV}/Zope-${PV}-0.tgz"
LICENSE="ZPL"
SLOT="${PV}"
-KEYWORDS="~x86 ~sparc ~ppc ~alpha"
+KEYWORDS="~x86 ~sparc ~ppc ~alpha ~amd64"
IUSE="unicode"
RDEPEND="=dev-lang/python-2.3*"
@@ -79,6 +79,13 @@ pkg_preinst() {
enewuser ${ZUID} 261 /bin/bash ${ZS_DIR} ${ZGID}
}
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ use amd64 \
+ && epatch ${FILESDIR}/2.7.2/gid.patch
+}
+
src_compile() {
./configure --ignore-largefile --prefix=${ZOPE_DIR} || die "Failed to configure."
emake || die "Failed to compile."