From 50932475bceaaa0499b1d1e0daf78e5e8f7c1446 Mon Sep 17 00:00:00 2001 From: Kent Fredric Date: Thu, 27 Apr 2017 23:40:02 +1200 Subject: sys-devel/autoconf: Add perl-5.26 patch re bug #613790 This fixes the unescaped "{" issue. -r1 bump necessary as end users must have this patch applied to their installs otherwise autoscan will be broken after upgrading perl. autoconf does not subslot dep on perl, so there are no guarantees that a rebuild will happen to propagate this patch Hence, -r1 fix Bug: https://bugs.gentoo.org/613790 Package-Manager: Portage-2.3.4, Repoman-2.3.2 Closes: https://github.com/gentoo/gentoo/pull/4500 --- .../autoconf/files/autoconf-2.69-perl-5.26.patch | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 sys-devel/autoconf/files/autoconf-2.69-perl-5.26.patch (limited to 'sys-devel/autoconf/files') diff --git a/sys-devel/autoconf/files/autoconf-2.69-perl-5.26.patch b/sys-devel/autoconf/files/autoconf-2.69-perl-5.26.patch new file mode 100644 index 000000000000..b3d7888ca722 --- /dev/null +++ b/sys-devel/autoconf/files/autoconf-2.69-perl-5.26.patch @@ -0,0 +1,28 @@ +From e5654a5591884b92633c7785f325626711e7f7aa Mon Sep 17 00:00:00 2001 +From: Paul Eggert +Date: Tue, 29 Jan 2013 13:46:48 -0800 +Subject: [PATCH] autoscan: port to perl 5.17 + +* bin/autoscan.in (scan_sh_file): Escape '{'. This avoids a +feature that is deprecated in Perl 5.17. Reported by Ray Lauff in +. +--- + bin/autoscan.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/bin/autoscan.in b/bin/autoscan.in +index 993a750..db1df79 100644 +--- a/bin/autoscan.in ++++ b/bin/autoscan.in +@@ -358,7 +358,7 @@ sub scan_sh_file ($) + { + # Strip out comments and variable references. + s/#.*//; +- s/\${[^\}]*}//g; ++ s/\$\{[^\}]*}//g; + s/@[^@]*@//g; + + # Tokens in the code. +-- +1.9.1 + -- cgit v1.2.3-65-gdbad