Files
gentoo/dev-perl/Alien-Gnuplot/files/Alien-Gnuplot-1.43.0-version.patch
Sam James fec2c6a98d dev-perl/Alien-Gnuplot: add 1.43.0
Signed-off-by: Sam James <sam@gentoo.org>
2024-04-28 07:50:29 +01:00

14 lines
444 B
Diff

https://bugs.gentoo.org/709670
--- a/lib/Alien/Gnuplot.pm
+++ b/lib/Alien/Gnuplot.pm
@@ -316,7 +316,7 @@ Raw output from Gnuplot:
$lines
};
- $lines =~ m/Version (\d+\.\d+) (patchlevel (\d+))?/ or die qq{
+ $lines =~ m/Version (\d+\.\d+(?:\.\d+)?) (patchlevel (\d+))?/ or die qq{
Alien::Gnuplot: the executable file $exec_path claims to be gnuplot, but
I could not parse a version number from its output. Sorry, I give up.