Subject: pkg/21697: www/zope25 (zope-2.6.1) misfires on detecting initgroups support
To: None <>
From: None <>
List: netbsd-bugs
Date: 05/27/2003 12:34:28
>Number:         21697
>Category:       pkg
>Synopsis:       www/zope25 (zope-2.6.1) misfires on detecting initgroups support
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue May 27 17:35:01 UTC 2003
>Originator:     MLH
>Release:        NetBSD 1.6S
System: NetBSD 1.6S NetBSD 1.6S (GENERIC) #11: Fri May 9
15:14:12 CDT 2003 mlh@enki:/opt/src/sys/arch/i386/compile/obj/GENERIC i386
Architecture: i386
Machine: i386
www/zope25 (zope-2.6.1) relies on __unix__ or unix being defined int he
enviroment in order to detect support for initgroups (3). NetBSD does
not assert that macro, so we need a way to trigger the compiler test.
make/build www/zope25 and it fails by default
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
# This archive contains:
#	distdiff
#	patches
#	patches/patch-aa
echo x - distdiff
sed 's/^X//' >distdiff << 'END-of-distdiff'
X? distdiff
X? patches
XIndex: distinfo
XRCS file: /cvsroot/pkgsrc/www/zope25/distinfo,v
Xretrieving revision 1.2
Xdiff -b -u -r1.2 distinfo
X+++ distinfo	2003/05/27 17:31:29
X@@ -2,3 +2,4 @@
X SHA1 (zope/Zope-2.6.1-src.tgz) = 9eddfc8a0e173bd80f655ed1dda102b4256a3cc9
X Size (zope/Zope-2.6.1-src.tgz) = 2318685 bytes
X+SHA1 (patch-aa) = 829ecb65ca0f45b2c2459ec742d170c99277cd30
echo c - patches
mkdir -p patches > /dev/null 2>&1
echo x - patches/patch-aa
sed 's/^X//' >patches/patch-aa << 'END-of-patches/patch-aa'
X+++ lib/Components/initgroups/initgroups.c	2003-05-27 12:15:47.000000000 -0500
X@@ -13,7 +13,7 @@
X #include "Python.h"
X-#if defined(__unix__) || defined(unix)
X+#if defined(__unix__) || defined(unix) || defined(__NetBSD__)
X #include <grp.h>
X #include <sys/types.h>