diff options
author | 2010-06-25 10:34:19 +0000 | |
---|---|---|
committer | 2010-06-25 10:34:19 +0000 | |
commit | a0277fa14d9fc00ff679b9837c5492f1cb940be8 (patch) | |
tree | abae2abb8d132fe86cd99c09455b98d86fc1f4ec /net-analyzer/nagios-plugins/files | |
parent | Stable on amd64 and x86. Drop older. (beta is the new upstream policy until t... (diff) | |
download | gentoo-2-a0277fa14d9fc00ff679b9837c5492f1cb940be8.tar.gz gentoo-2-a0277fa14d9fc00ff679b9837c5492f1cb940be8.tar.bz2 gentoo-2-a0277fa14d9fc00ff679b9837c5492f1cb940be8.zip |
Fix 64bit implicit pointer conversion
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'net-analyzer/nagios-plugins/files')
-rw-r--r-- | net-analyzer/nagios-plugins/files/nagios-plugins-1.4.14-implicit-pointer-conversion.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/net-analyzer/nagios-plugins/files/nagios-plugins-1.4.14-implicit-pointer-conversion.patch b/net-analyzer/nagios-plugins/files/nagios-plugins-1.4.14-implicit-pointer-conversion.patch new file mode 100644 index 000000000000..ec070fad7564 --- /dev/null +++ b/net-analyzer/nagios-plugins/files/nagios-plugins-1.4.14-implicit-pointer-conversion.patch @@ -0,0 +1,15 @@ +Index: nagios-plugins-1.4.14/plugins/check_ldap.c +=================================================================== +--- nagios-plugins-1.4.14.orig/plugins/check_ldap.c ++++ nagios-plugins-1.4.14/plugins/check_ldap.c +@@ -38,6 +38,10 @@ const char *email = "nagiosplug-devel@li + #include <lber.h> + #include <ldap.h> + ++ldap_init LDAP_P(( /* deprecated, use ldap_create or ldap_initialize */ ++ LDAP_CONST char *host, ++ int port )); ++ + enum { + UNDEFINED = 0, + #ifdef HAVE_LDAP_SET_OPTION |