autoconf:rebuild perl patch

This commit is contained in:
Rmys
2019-03-11 11:47:21 +03:00
parent 564756367b
commit 7f197e6b6a
2 changed files with 38 additions and 0 deletions
@@ -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
+10
View File
@@ -18,6 +18,9 @@
<Dependency>m4</Dependency>
<Dependency>perl</Dependency>
</BuildDependencies>
<Patches>
<Patch>autoconf-2.69-perl-5.22-autoscan.patch</Patch>
</Patches>
</Source>
<Package>
@@ -36,6 +39,13 @@
</Package>
<History>
<Update release="5">
<Date>2019-03-11</Date>
<Version>2.69</Version>
<Comment>Rebuild</Comment>
<Name>Mustafa Cinasal</Name>
<Email>muscnsl@gmail.com</Email>
</Update>
<Update release="4">
<Date>2018-07-15</Date>
<Version>2.69</Version>