aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/perl/perl/fixes/math_complex_doc_great_circle.diff
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/perl/perl/fixes/math_complex_doc_great_circle.diff')
-rw-r--r--meta/recipes-devtools/perl/perl/fixes/math_complex_doc_great_circle.diff26
1 files changed, 26 insertions, 0 deletions
diff --git a/meta/recipes-devtools/perl/perl/fixes/math_complex_doc_great_circle.diff b/meta/recipes-devtools/perl/perl/fixes/math_complex_doc_great_circle.diff
new file mode 100644
index 0000000000..d4b98d9c04
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl/fixes/math_complex_doc_great_circle.diff
@@ -0,0 +1,26 @@
+From ffebd2c39731282d0194acf9882cc9f0b315860c Mon Sep 17 00:00:00 2001
+From: Dominic Hargreaves <dom@earth.li>
+Date: Sat, 30 Apr 2016 22:50:52 +0100
+Subject: [PATCH] Math::Trig: clarify definition of great_circle_midpoint
+
+Bug: https://rt.cpan.org/Ticket/Display.html?id=114104
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=697567
+Patch-Name: fixes/math_complex_doc_great_circle.diff
+
+---
+ cpan/Math-Complex/lib/Math/Trig.pm | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/cpan/Math-Complex/lib/Math/Trig.pm b/cpan/Math-Complex/lib/Math/Trig.pm
+index 728da3e..89dcd09 100644
+--- a/cpan/Math-Complex/lib/Math/Trig.pm
++++ b/cpan/Math-Complex/lib/Math/Trig.pm
+@@ -613,7 +613,7 @@ or the midpoint if you know the end points:
+ ($thetam, $phim) =
+ great_circle_midpoint($theta0, $phi0, $theta1, $phi1);
+
+-The great_circle_midpoint() is just a special case of
++The great_circle_midpoint() is just a special case (with $way = 0.5) of
+
+ =head2 great_circle_waypoint
+