pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/openldap Checking for attribute support with...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/51f946364640
branches:  trunk
changeset: 503392:51f946364640
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sat Nov 19 18:41:15 2005 +0000

description:
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:

 databases/openldap/Makefile         |   3 ++-
 databases/openldap/distinfo         |   4 ++--
 databases/openldap/patches/patch-ac |  14 +++++++++++---
 3 files changed, 15 insertions(+), 6 deletions(-)

diffs (50 lines):

diff -r f8f68895dcb3 -r 51f946364640 databases/openldap/Makefile
--- a/databases/openldap/Makefile       Sat Nov 19 18:26:32 2005 +0000
+++ b/databases/openldap/Makefile       Sat Nov 19 18:41:15 2005 +0000
@@ -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 -r f8f68895dcb3 -r 51f946364640 databases/openldap/distinfo
--- a/databases/openldap/distinfo       Sat Nov 19 18:26:32 2005 +0000
+++ b/databases/openldap/distinfo       Sat Nov 19 18:41:15 2005 +0000
@@ -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 -r f8f68895dcb3 -r 51f946364640 databases/openldap/patches/patch-ac
--- a/databases/openldap/patches/patch-ac       Sat Nov 19 18:26:32 2005 +0000
+++ b/databases/openldap/patches/patch-ac       Sat Nov 19 18:41:15 2005 +0000
@@ -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



Home | Main Index | Thread Index | Old Index