summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2021-01-24 18:28:18 +0100
committerUlrich Müller <ulm@gentoo.org>2021-01-24 18:28:53 +0100
commitc2832cbcfbcefc77050a6f3ffeaa40e64f632f5f (patch)
treed181c40a973a1c52d42873f9bef21247bc616444 /dev-perl/Alien-Gnuplot/files
parentsci-visualization/gnuplot: Remove old (diff)
downloadgentoo-c2832cbcfbcefc77050a6f3ffeaa40e64f632f5f.tar.gz
gentoo-c2832cbcfbcefc77050a6f3ffeaa40e64f632f5f.tar.bz2
gentoo-c2832cbcfbcefc77050a6f3ffeaa40e64f632f5f.zip
dev-perl/Alien-Gnuplot: Fix gnuplot version detection
Closes: https://bugs.gentoo.org/709670 Acked-by: Andreas K. Hüttel <dilfridge@gentoo.org> Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'dev-perl/Alien-Gnuplot/files')
-rw-r--r--dev-perl/Alien-Gnuplot/files/Alien-Gnuplot-1.33.0-version.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/dev-perl/Alien-Gnuplot/files/Alien-Gnuplot-1.33.0-version.patch b/dev-perl/Alien-Gnuplot/files/Alien-Gnuplot-1.33.0-version.patch
new file mode 100644
index 000000000000..415db6890dd1
--- /dev/null
+++ b/dev-perl/Alien-Gnuplot/files/Alien-Gnuplot-1.33.0-version.patch
@@ -0,0 +1,13 @@
+https://bugs.gentoo.org/709670
+
+--- a/lib/Alien/Gnuplot.pm
++++ b/lib/Alien/Gnuplot.pm
+@@ -289,7 +289,7 @@
+ your GNUPLOT_BINARY variable to an actual gnuplot.
+ };
+
+- $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.
+