summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiziano Müller <dev-zero@gentoo.org>2010-06-09 13:06:23 +0000
committerTiziano Müller <dev-zero@gentoo.org>2010-06-09 13:06:23 +0000
commitfe9ab3904d1af23fa119cea957263ed22933d4ee (patch)
treee72f3f4e42f003c5a5c10dcbea3109972061ef40 /dev-perl/Net-LDAPapi/files
parentDelete older ebuilds. (diff)
downloadgentoo-2-fe9ab3904d1af23fa119cea957263ed22933d4ee.tar.gz
gentoo-2-fe9ab3904d1af23fa119cea957263ed22933d4ee.tar.bz2
gentoo-2-fe9ab3904d1af23fa119cea957263ed22933d4ee.zip
Added patch to not treat results from ldap_results as normal ldap return values in 'sub error' (as in 3.0.2).
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'dev-perl/Net-LDAPapi/files')
-rw-r--r--dev-perl/Net-LDAPapi/files/3.0.3-ldap_result-no_error.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/dev-perl/Net-LDAPapi/files/3.0.3-ldap_result-no_error.patch b/dev-perl/Net-LDAPapi/files/3.0.3-ldap_result-no_error.patch
new file mode 100644
index 000000000000..d1003ee9ae7e
--- /dev/null
+++ b/dev-perl/Net-LDAPapi/files/3.0.3-ldap_result-no_error.patch
@@ -0,0 +1,14 @@
+diff --git a/LDAPapi.pm b/LDAPapi.pm
+index 113d922..cba3b61 100644
+--- a/LDAPapi.pm
++++ b/LDAPapi.pm
+@@ -1355,8 +1355,8 @@ sub result
+ $self->{"result"} = $result;
+ $self->{"status"} = $status;
+
+- $self->errorize($status);
+ if( $status == -1 || $status == 0 ) {
++ $self->errorize($status);
+ return undef;
+ }
+