summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2018-12-22 20:02:05 +0100
committerAndreas K. Hüttel <dilfridge@gentoo.org>2018-12-22 20:03:02 +0100
commit27f80f1f403f17a8dd7fd3108d178adaafda5e80 (patch)
tree984aeab60f18b19642b93bf491888838787bc625 /sys-devel/autoconf
parentdev-python/PyQt5: restore 5.9.2 (~amd64 and ~x86 only) (diff)
downloadgentoo-27f80f1f403f17a8dd7fd3108d178adaafda5e80.tar.gz
gentoo-27f80f1f403f17a8dd7fd3108d178adaafda5e80.tar.bz2
gentoo-27f80f1f403f17a8dd7fd3108d178adaafda5e80.zip
sys-devel/autoconf: Revision bump 2.13-r1 for Perl 5.26
Only one patch needed, the other one modifies code that does not exist in this version yet. Test suite passes in either case, not catching the problem. Closes: https://bugs.gentoo.org/625576 Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
Diffstat (limited to 'sys-devel/autoconf')
-rw-r--r--sys-devel/autoconf/autoconf-2.13-r1.ebuild (renamed from sys-devel/autoconf/autoconf-2.13.ebuild)3
-rw-r--r--sys-devel/autoconf/files/autoconf-2.13-perl-5.26.patch12
2 files changed, 14 insertions, 1 deletions
diff --git a/sys-devel/autoconf/autoconf-2.13.ebuild b/sys-devel/autoconf/autoconf-2.13-r1.ebuild
index 760263724fb2..a908a4d5d6f7 100644
--- a/sys-devel/autoconf/autoconf-2.13.ebuild
+++ b/sys-devel/autoconf/autoconf-2.13-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -24,6 +24,7 @@ PATCHES=(
"${FILESDIR}"/${P}-gentoo.patch
"${FILESDIR}"/${P}-destdir.patch
"${FILESDIR}"/${P}-test-fixes.patch #146592
+ "${FILESDIR}"/${PN}-2.13-perl-5.26.patch
)
src_configure() {
diff --git a/sys-devel/autoconf/files/autoconf-2.13-perl-5.26.patch b/sys-devel/autoconf/files/autoconf-2.13-perl-5.26.patch
new file mode 100644
index 000000000000..6fbc0cd1bc89
--- /dev/null
+++ b/sys-devel/autoconf/files/autoconf-2.13-perl-5.26.patch
@@ -0,0 +1,12 @@
+diff -ruN autoconf-2.13.orig/autoscan.pl autoconf-2.13/autoscan.pl
+--- autoconf-2.13.orig/autoscan.pl 1999-01-05 14:28:42.000000000 +0100
++++ autoconf-2.13/autoscan.pl 2018-12-22 19:55:10.986732296 +0100
+@@ -232,7 +232,7 @@
+ # Strip out comments and variable references.
+ s/#.*//;
+ s/\$\([^\)]*\)//g;
+- s/\${[^\}]*}//g;
++ s/\$\{[^\}]*}//g;
+ s/@[^@]*@//g;
+
+ # Variable assignments.