/[gentoo-x86]/net-analyzer/nagios-plugins/files/nagios-plugins-1.4.14-implicit-pointer-conversion.patch
Gentoo

Contents of /net-analyzer/nagios-plugins/files/nagios-plugins-1.4.14-implicit-pointer-conversion.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Fri Jun 25 10:34:19 2010 UTC (4 years, 1 month ago) by hwoarang
Branch: MAIN
Fix 64bit implicit pointer conversion
(Portage version: 2.2_rc67/cvs/Linux x86_64)

1 Index: nagios-plugins-1.4.14/plugins/check_ldap.c
2 ===================================================================
3 --- nagios-plugins-1.4.14.orig/plugins/check_ldap.c
4 +++ nagios-plugins-1.4.14/plugins/check_ldap.c
5 @@ -38,6 +38,10 @@ const char *email = "nagiosplug-devel@li
6 #include <lber.h>
7 #include <ldap.h>
8
9 +ldap_init LDAP_P(( /* deprecated, use ldap_create or ldap_initialize */
10 + LDAP_CONST char *host,
11 + int port ));
12 +
13 enum {
14 UNDEFINED = 0,
15 #ifdef HAVE_LDAP_SET_OPTION

  ViewVC Help
Powered by ViewVC 1.1.20