Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 187194 Details for
Bug 264761
<net-nds/openldap-2.4.13 fails to compile with GCC 4.4 [patch]
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch from Debian to enable GCC 4.4 compilation
openldap-2.3.43-gcc44fix.patch (text/plain), 1.14 KB, created by
Daniel J.
on 2009-04-03 13:25:27 UTC
(
hide
)
Description:
Patch from Debian to enable GCC 4.4 compilation
Filename:
MIME Type:
Creator:
Daniel J.
Created:
2009-04-03 13:25:27 UTC
Size:
1.14 KB
patch
obsolete
>--- include/ldap_pvt_thread.h 2009-04-03 08:51:30.000000000 -0400 >+++ include/ldap_pvt_thread.h 2009-04-03 08:56:36.000000000 -0400 >@@ -57,12 +57,12 @@ > > #ifndef LDAP_PVT_THREAD_H_DONE > #define LDAP_PVT_THREAD_SET_STACK_SIZE >-#ifndef LDAP_PVT_THREAD_STACK_SIZE >- /* LARGE stack. Will be twice as large on 64 bit machine. */ >-#define LDAP_PVT_THREAD_STACK_SIZE ( 1 * 1024 * 1024 * sizeof(void *) ) > /* May be explicitly defined to zero to disable it */ >-#elif LDAP_PVT_THREAD_STACK_SIZE == 0 >+#if defined( LDAP_PVT_THREAD_STACK_SIZE ) && LDAP_PVT_THREAD_STACK_SIZE == 0 > #undef LDAP_PVT_THREAD_SET_STACK_SIZE >+#elif !defined(LDAP_PVT_THREAD_STACK_SIZE) >+ /* LARGE stack. Will be twice as large on 64 bit machine. */ >+#define LDAP_PVT_THREAD_STACK_SIZE ( 1 * 1024 * 1024 * sizeof(void *) ) > #endif > #endif /* !LDAP_PVT_THREAD_H_DONE */ > >--- libraries/libldap/os-ip.c 2009-04-03 08:51:30.000000000 -0400 >+++ libraries/libldap/os-ip.c 2009-04-03 08:54:47.000000000 -0400 >@@ -652,7 +652,7 @@ > char *herr; > #ifdef NI_MAXHOST > char hbuf[NI_MAXHOST]; >-#elif defined( MAXHOSTNAMELEN >+#elif defined( MAXHOSTNAMELEN ) > char hbuf[MAXHOSTNAMELEN]; > #else > char hbuf[256];
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 264761
: 187194