sys-devel/autoconf: Revision bump 2.13-r1 for Perl 5.26
authorAndreas K. Hüttel <dilfridge@gentoo.org>
Sat, 22 Dec 2018 19:02:05 +0000 (20:02 +0100)
committerAndreas K. Hüttel <dilfridge@gentoo.org>
Sat, 22 Dec 2018 19:03:02 +0000 (20:03 +0100)
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>
sys-devel/autoconf/autoconf-2.13-r1.ebuild [moved from sys-devel/autoconf/autoconf-2.13.ebuild with 94% similarity]
sys-devel/autoconf/files/autoconf-2.13-perl-5.26.patch [new file with mode: 0644]

similarity index 94%
rename from sys-devel/autoconf/autoconf-2.13.ebuild
rename to sys-devel/autoconf/autoconf-2.13-r1.ebuild
index 760263724fb23684bd8e780fcf3a8dbc9631dabe..a908a4d5d6f750ecc6171ab55d427a0e119bfa01 100644 (file)
@@ -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 (file)
index 0000000..6fbc0cd
--- /dev/null
@@ -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.