diff options
Diffstat (limited to 'dev-perl/Net-IP/files/initip-0.patch')
-rw-r--r-- | dev-perl/Net-IP/files/initip-0.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/dev-perl/Net-IP/files/initip-0.patch b/dev-perl/Net-IP/files/initip-0.patch new file mode 100644 index 000000000000..7f72638d0a9e --- /dev/null +++ b/dev-perl/Net-IP/files/initip-0.patch @@ -0,0 +1,12 @@ +diff -Naurp Net-IP-1.25.old/IP.pm Net-IP-1.25/IP.pm +--- Net-IP-1.25.old/IP.pm 2006-05-22 12:46:40.000000000 -0400 ++++ Net-IP-1.25/IP.pm 2007-03-30 16:50:48.000000000 -0400 +@@ -410,7 +410,7 @@ sub intip { + + my $int = ip_bintoint($self->binip()); + +- if (!$int) { ++ if (ref($int) ne "Math::BigInt") { + $self->{error} = $ERROR; + $self->{errno} = $ERRNO; + return; |