pkgsrc/databases/openldap/patches/patch-ac
jlam 26440c7c8b Update databases/openldap to 2.3.11, which is the first "stable" release
in the 2.3.x series.  This is a major update over version 2.2.x, and
changes include:

        * Slapd(8) enhancements
            - Updated slapd "overlay" interface, and several
              example (and mostly experimental) overlays.
            - Updated LDAP "sync" Engine with replication support,
              provider now an "overlay"
            - Numerous access control enhancements, including
              experimental "don't disclose on error" capability
            - Configuration backend
        * LDAPv3 extensions, including:
            - LDAP Password Policy
            - LDAP Component Matching (requires OpenLDAP snacc)
            - LDAP Modify Increment
2005-10-26 15:08:13 +00:00

16 lines
532 B
Text

$NetBSD: patch-ac,v 1.9 2005/10/26 15:08:13 jlam Exp $
--- libraries/libldap_r/thr_posix.c.orig 2005-09-27 20:30:29.000000000 -0400
+++ libraries/libldap_r/thr_posix.c
@@ -132,9 +132,11 @@ ldap_pvt_thread_create( ldap_pvt_thread_
#endif
#ifdef LDAP_PVT_THREAD_SET_STACK_SIZE
+#if defined(_POSIX_THREAD_ATTR_STACKSIZE)
/* this should be tunable */
pthread_attr_setstacksize( &attr, LDAP_PVT_THREAD_STACK_SIZE );
#endif
+#endif
#if HAVE_PTHREADS > 5
detach = detach ? PTHREAD_CREATE_DETACHED : PTHREAD_CREATE_JOINABLE;