diff options
author | joerg <joerg@pkgsrc.org> | 2005-11-19 18:41:15 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2005-11-19 18:41:15 +0000 |
commit | 3e2814ff4e569bc1d7c2fe4bdc5cda43b36e6cad (patch) | |
tree | eb97a50c5110a4c9d22f46efa4d5b5f7b7878cc1 /databases/openldap | |
parent | b92397af64c65373ba0b5edc2e1d29d833737fbe (diff) | |
download | pkgsrc-3e2814ff4e569bc1d7c2fe4bdc5cda43b36e6cad.tar.gz |
Checking for attribute support with _POSIX_THREAD_ATTR_STACKSIZE is
good, not including unistd.h (which defines the macro) is bad.
Correct this mistake to get a working thread stack on DragonFly and
other systems which have less than 2 MB by default. Bump revision.
Diffstat (limited to 'databases/openldap')
-rw-r--r-- | databases/openldap/Makefile | 3 | ||||
-rw-r--r-- | databases/openldap/distinfo | 4 | ||||
-rw-r--r-- | databases/openldap/patches/patch-ac | 14 |
3 files changed, 15 insertions, 6 deletions
diff --git a/databases/openldap/Makefile b/databases/openldap/Makefile index 41c1d09a22b..f67075660f0 100644 --- a/databases/openldap/Makefile +++ b/databases/openldap/Makefile @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.102 2005/10/26 15:08:13 jlam Exp $ +# $NetBSD: Makefile,v 1.103 2005/11/19 18:41:15 joerg Exp $ DISTNAME= openldap-2.3.11 +PKGREVISION= 1 SVR4_PKGNAME= oldap CATEGORIES= databases MASTER_SITES= ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/ diff --git a/databases/openldap/distinfo b/databases/openldap/distinfo index 26643c5cc6d..0401c0bce34 100644 --- a/databases/openldap/distinfo +++ b/databases/openldap/distinfo @@ -1,9 +1,9 @@ -$NetBSD: distinfo,v 1.42 2005/10/26 15:08:13 jlam Exp $ +$NetBSD: distinfo,v 1.43 2005/11/19 18:41:15 joerg Exp $ SHA1 (openldap-2.3.11.tgz) = e7a4a5b2d50b8138ed835b7e9e722814f1877806 RMD160 (openldap-2.3.11.tgz) = 4947c7f15b70dfd55ff30028228ec915064feba1 Size (openldap-2.3.11.tgz) = 3657646 bytes -SHA1 (patch-ac) = d14ad22e50e56a37ef15d43c1a3b5f2c4499252d +SHA1 (patch-ac) = d63169a103a6e34196031aaafa342c94a4f42cc7 SHA1 (patch-ad) = 5999228819572b12e8a648a1af4f04a410ecbe06 SHA1 (patch-af) = 1ae9137e76e885e03d0f44727197a444893ec7c5 SHA1 (patch-ag) = 8c936e930454e3ae39997c83910eeffb4ad29523 diff --git a/databases/openldap/patches/patch-ac b/databases/openldap/patches/patch-ac index f29ed535db9..f1f3d4ee288 100644 --- a/databases/openldap/patches/patch-ac +++ b/databases/openldap/patches/patch-ac @@ -1,8 +1,16 @@ -$NetBSD: patch-ac,v 1.9 2005/10/26 15:08:13 jlam Exp $ +$NetBSD: patch-ac,v 1.10 2005/11/19 18:41:16 joerg Exp $ ---- libraries/libldap_r/thr_posix.c.orig 2005-09-27 20:30:29.000000000 -0400 +--- libraries/libldap_r/thr_posix.c.orig 2005-09-28 00:30:29.000000000 +0000 +++ libraries/libldap_r/thr_posix.c -@@ -132,9 +132,11 @@ ldap_pvt_thread_create( ldap_pvt_thread_ +@@ -19,6 +19,7 @@ + #if defined( HAVE_PTHREADS ) + + #include <ac/errno.h> ++#include <ac/unistd.h> + + #include "ldap_pvt_thread.h" /* Get the thread interface */ + #define LDAP_THREAD_IMPLEMENTATION +@@ -132,9 +133,11 @@ ldap_pvt_thread_create( ldap_pvt_thread_ #endif #ifdef LDAP_PVT_THREAD_SET_STACK_SIZE |