diff options
author | CoprDistGit <infra@openeuler.org> | 2024-08-05 01:37:38 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-08-05 01:37:38 +0000 |
commit | 393e8ba498eb9bdef0d32aa74ec21a2a039f31ea (patch) | |
tree | f0e97aa00817869cee9cb76074d533257be59752 /autoconf-2.69-perl-5.22-autoscan.patch | |
parent | 363c4f757d1bed47610f209201dee189d49dafeb (diff) |
automatic import of autoconfopeneuler24.03_LTS
Diffstat (limited to 'autoconf-2.69-perl-5.22-autoscan.patch')
-rw-r--r-- | autoconf-2.69-perl-5.22-autoscan.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/autoconf-2.69-perl-5.22-autoscan.patch b/autoconf-2.69-perl-5.22-autoscan.patch new file mode 100644 index 0000000..7442cad --- /dev/null +++ b/autoconf-2.69-perl-5.22-autoscan.patch @@ -0,0 +1,28 @@ +From e5654a5591884b92633c7785f325626711e7f7aa Mon Sep 17 00:00:00 2001 +From: Paul Eggert <eggert@cs.ucla.edu> +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 +<http://lists.gnu.org/archive/html/bug-autoconf/2013-01/msg00059.html>. +--- + 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. +-- +2.1.0 + |