diff options
author | Ulrich Müller <ulm@gentoo.org> | 2021-01-24 18:28:18 +0100 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2021-01-24 18:28:53 +0100 |
commit | c2832cbcfbcefc77050a6f3ffeaa40e64f632f5f (patch) | |
tree | d181c40a973a1c52d42873f9bef21247bc616444 /dev-perl/Alien-Gnuplot | |
parent | sci-visualization/gnuplot: Remove old (diff) | |
download | gentoo-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')
-rw-r--r-- | dev-perl/Alien-Gnuplot/Alien-Gnuplot-1.33.0.ebuild | 4 | ||||
-rw-r--r-- | dev-perl/Alien-Gnuplot/files/Alien-Gnuplot-1.33.0-version.patch | 13 |
2 files changed, 16 insertions, 1 deletions
diff --git a/dev-perl/Alien-Gnuplot/Alien-Gnuplot-1.33.0.ebuild b/dev-perl/Alien-Gnuplot/Alien-Gnuplot-1.33.0.ebuild index 51d0baff15c2..0da98dc77595 100644 --- a/dev-perl/Alien-Gnuplot/Alien-Gnuplot-1.33.0.ebuild +++ b/dev-perl/Alien-Gnuplot/Alien-Gnuplot-1.33.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -23,3 +23,5 @@ RDEPEND=" DEPEND="${RDEPEND} virtual/perl-ExtUtils-MakeMaker " + +PATCHES=( "${FILESDIR}/${P}-version.patch" ) 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. + |