Subject: | Patches to fix Geo::Distance integration |
Date: | Fri, 17 Jan 2014 20:25:14 +0100 |
To: | bug-Geo-Point [...] rt.cpan.org |
From: | Sebastiaan Couwenberg <sebastic [...] xs4all.nl> |
These patches were sent by Niko Tyni in the Debian bug tracker at:
http://bugs.debian.org/735744
Show quoted text
-------- Original Message --------
Subject: Bug#735744: libgeo-point-perl: distance calculations broken
Date: Fri, 17 Jan 2014 18:31:28 +0200
From: Niko Tyni <ntyni@debian.org>
Reply-To: Niko Tyni <ntyni@debian.org>, 735744@bugs.debian.org
To: submit@bugs.debian.org
Package: libgeo-point-perl
Version: 0.94-1
Tags: patch
Geo::Distance integration in Geo::Point seems to be broken.
% perl -MGeo::Point -le 'my $p1 = Geo::Point->latlong(0,0); my $p2 =
Geo::Point->latlong(1,1); print $p1->distance($p2)'
Use of uninitialized value in multiplication (*) at
/usr/share/perl5/Geo/Distance.pm line 214.
Use of uninitialized value in multiplication (*) at
/usr/share/perl5/Geo/Distance.pm line 214.
Can't locate object method "distance_calc" via package "Geo::Distance"
at /usr/share/perl5/Geo/Point.pm line 233.
Proposed patches (including tests) attached.
--
Niko Tyni ntyni@debian.org
Kind Regards,
Bas
--
GnuPG: 0xE88D4AF1 (new) / 0x77A975AD (old)
Message body is not shown because sender requested not to inline it.
Message body is not shown because sender requested not to inline it.