summaryrefslogtreecommitdiff
path: root/dev-perl/Alien-Gnuplot
diff options
context:
space:
mode:
Diffstat (limited to 'dev-perl/Alien-Gnuplot')
-rw-r--r--dev-perl/Alien-Gnuplot/Alien-Gnuplot-1.33.0.ebuild4
-rw-r--r--dev-perl/Alien-Gnuplot/Manifest3
-rw-r--r--dev-perl/Alien-Gnuplot/files/Alien-Gnuplot-1.33.0-version.patch13
3 files changed, 18 insertions, 2 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/Manifest b/dev-perl/Alien-Gnuplot/Manifest
index 35f0417517c1..ea8fdc9c6987 100644
--- a/dev-perl/Alien-Gnuplot/Manifest
+++ b/dev-perl/Alien-Gnuplot/Manifest
@@ -1,3 +1,4 @@
+AUX Alien-Gnuplot-1.33.0-version.patch 463 BLAKE2B 46b6e7de3d44cac98e8f66d1493ced755ae10d5d5ee1b7e435941ff5e19675003425a1984e44b1f9be8e79342c2c085c6706864c492d620798c0b13d754ad695 SHA512 55f13e2f6b7a6b78906c3ea9a1fa3267f09537e36ab7fa5335014c43de606950e843b51e2d2c7030981a4bb2ba49e05bf7e34db208fea772a75feb2b58ccacda
DIST Alien-Gnuplot-1.033.tar.gz 7827 BLAKE2B beb340f3f0feaab56f60811c3fac41fb518e657f82dd8b4ca53697b75fdaf53bf071ee89e6514115e3d110db122c5fb1b2c56506317f432bb80cba4ef808a677 SHA512 b846e9be8193af376dced487b99bafdd29fdf094a92f824bacaa3c642ad110918995cabc66300bd04fbf78ae779855ba94d1e634398f479961f98bb7f1cbbf46
-EBUILD Alien-Gnuplot-1.33.0.ebuild 475 BLAKE2B 573527147377c3f2cd2724438326a20c1cf5d46f50a6638957161d4cf0e13861b3256afab051d9a507421acd2efcaa0190b455abafcb1955960190aa16b4df79 SHA512 616e85d4de51c26d2f8e19df8f4bba6d9aeac429e5a4bd2db5fa3ea7eda8d476de03dafbd48184a045b25ab31abd92f43cc177393d22632ea583390c8766acf2
+EBUILD Alien-Gnuplot-1.33.0.ebuild 518 BLAKE2B 8789f67e54f87efeeda427aefa760a515e3ada00321aac94b71e85e4012660411e7767babd95379f926f47c908ed45fa43e199d0eec3233531c18cb113444e6a SHA512 dfce9b619c35444f1689ac223753fbf7a46014468ecab048cb96dea72a78111a3b14af3b6e483c5f66d1312318646047fa3e3cc44ff77827db11e517b81b47b7
MISC metadata.xml 470 BLAKE2B 22e4a9c3007dc53cc0a18bf3ac87703df91f81eb89f04598960d3eacbb88b08aa355f4aab28be62c5b1b74e50dc0d64370853845ad48d74a0ea7ff3f720a3d27 SHA512 3bda6e3856dfdf1edc3ce243dd1a2f1f2322506586d2c5949de80e05cd1844c323938752dbd8a3e268c5075aa056bc464863e537aee55acf1d00880ae70b6103
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.
+