FreeBSD Bugzilla – Attachment 116112 Details for
Bug 158021
[PATCH] devel/apr1: unbreak build with "threads=off ldap=on"
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
apr-nothr-devrandom-1.4.5.1.3.12.patch
apr-nothr-devrandom-1.4.5.1.3.12.patch (text/plain), 906 bytes, created by
skv
on 2011-06-19 09:20:09 UTC
(
hide
)
Description:
apr-nothr-devrandom-1.4.5.1.3.12.patch
Filename:
MIME Type:
Creator:
skv
Created:
2011-06-19 09:20:09 UTC
Size:
906 bytes
patch
obsolete
>Index: files/patch-apr_ldap_rebind.c >=================================================================== >RCS file: files/patch-apr_ldap_rebind.c >diff -N files/patch-apr_ldap_rebind.c >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ files/patch-apr_ldap_rebind.c 19 Jun 2011 08:14:32 -0000 >@@ -0,0 +1,15 @@ >+--- apr-util-1.3.12/ldap/apr_ldap_rebind.c.orig 2011-06-18 14:42:15.000000000 +0000 >++++ apr-util-1.3.12/ldap/apr_ldap_rebind.c 2011-06-18 14:42:28.000000000 +0000 >+@@ -81,11 +81,11 @@ >+ get_apd >+ #endif >+ >++#if APR_HAS_THREADS >+ /* run after apr_thread_mutex_create cleanup */ >+ apr_pool_cleanup_register(pool, &apr_ldap_xref_lock, apr_ldap_pool_cleanup_set_null, >+ apr_pool_cleanup_null); >+ >+-#if APR_HAS_THREADS >+ if (apr_ldap_xref_lock == NULL) { >+ retcode = apr_thread_mutex_create(&apr_ldap_xref_lock, APR_THREAD_MUTEX_DEFAULT, pool); >+ }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 158021
: 116112