From: | "Markos Chandras (hwoarang)" <hwoarang@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in net-analyzer/nagios-plugins/files: nagios-plugins-1.4.14-implicit-pointer-conversion.patch |
Date: | Fri, 25 Jun 2010 10:34:25 |
Message-Id: | 20100625103420.0D3C12CF5D@corvid.gentoo.org |
1 | hwoarang 10/06/25 10:34:19 |
2 | |
3 | Added: |
4 | nagios-plugins-1.4.14-implicit-pointer-conversion.patch |
5 | Log: |
6 | Fix 64bit implicit pointer conversion |
7 | (Portage version: 2.2_rc67/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 net-analyzer/nagios-plugins/files/nagios-plugins-1.4.14-implicit-pointer-conversion.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nagios-plugins/files/nagios-plugins-1.4.14-implicit-pointer-conversion.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nagios-plugins/files/nagios-plugins-1.4.14-implicit-pointer-conversion.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: nagios-plugins-1.4.14-implicit-pointer-conversion.patch |
16 | =================================================================== |
17 | Index: nagios-plugins-1.4.14/plugins/check_ldap.c |
18 | =================================================================== |
19 | --- nagios-plugins-1.4.14.orig/plugins/check_ldap.c |
20 | +++ nagios-plugins-1.4.14/plugins/check_ldap.c |
21 | @@ -38,6 +38,10 @@ const char *email = "nagiosplug-devel@li |
22 | #include <lber.h> |
23 | #include <ldap.h> |
24 | |
25 | +ldap_init LDAP_P(( /* deprecated, use ldap_create or ldap_initialize */ |
26 | + LDAP_CONST char *host, |
27 | + int port )); |
28 | + |
29 | enum { |
30 | UNDEFINED = 0, |
31 | #ifdef HAVE_LDAP_SET_OPTION |