SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
|
@ -0,0 +1,16 @@
|
|||
avoid format/type mismatch on ILP32 archs (time_t is always 64 bit on OpenBSD)
|
||||
|
||||
Index: libraries/libldap/os-local.c
|
||||
--- libraries/libldap/os-local.c.orig
|
||||
+++ libraries/libldap/os-local.c
|
||||
@@ -164,8 +164,8 @@ ldap_pvt_connect(LDAP *ld, ber_socket_t s, struct sock
|
||||
}
|
||||
|
||||
Debug3(LDAP_DEBUG_TRACE,
|
||||
- "ldap_connect_timeout: fd: %d tm: %ld async: %d\n",
|
||||
- s, opt_tv ? tv.tv_sec : -1L, async);
|
||||
+ "ldap_connect_timeout: fd: %d tm: %lld async: %d\n",
|
||||
+ s, opt_tv ? (long long)tv.tv_sec : -1LL, async);
|
||||
|
||||
if ( ldap_pvt_ndelay_on(ld, s) == -1 ) return -1;
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue