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/patches | |
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/patches')
-rw-r--r-- | databases/openldap/patches/patch-ac | 14 |
1 files changed, 11 insertions, 3 deletions
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 |