pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/p5-HTTP-Request-Form/patches Actually add the patc...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3d0623e3e85f
branches:  trunk
changeset: 545489:3d0623e3e85f
user:      he <he%pkgsrc.org@localhost>
date:      Tue Aug 05 11:33:24 2008 +0000

description:
Actually add the patch/patch-aa file:

Update from version 0.9.5.1 to 0.9.5.2.

Pkgsrc change:
 o Add in a patch from CPAN GNATS # 7583.

Upstream change (not recorded in Changes):
 o Check for undefinedness before using it as a value.

diffstat:

 www/p5-HTTP-Request-Form/patches/patch-aa |  15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)

diffs (19 lines):

diff -r d188e81d45fc -r 3d0623e3e85f www/p5-HTTP-Request-Form/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/p5-HTTP-Request-Form/patches/patch-aa Tue Aug 05 11:33:24 2008 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-aa,v 1.1 2008/08/05 11:33:24 he Exp $
+
+From CPAN PR#7583.
+
+--- Form.pm.orig       2001-12-01 12:05:54.000000000 +0100
++++ Form.pm
+@@ -437,7 +437,7 @@ sub checkbox_ischecked {
+ 
+ sub is_checkbox {
+    my ($self, $name) = @_;
+-   if (defined($self->{'checkboxstate'}->($name))) {
++   if (defined($self->{'checkboxstate'}->{$name})) {
+       return 1;
+    } else {
+       return undef;



Home | Main Index | Thread Index | Old Index