intltool: Fix instance of Unescaped left brace in regex

Found out while trying to run tests on glade3
This commit is contained in:
maxice8 2017-11-27 07:10:36 -02:00 committed by Leаh Neukirchen
parent c27037c476
commit 9cd7b8d9b0
2 changed files with 12 additions and 1 deletions

View File

@ -44,3 +44,14 @@ Unescaped left brace in regex is deprecated, passed through in regex; marked by
}
# \s makes this not work, why?
--- intltool-update.in 2015-05-27 00:20:43.038379963 +0200
+++ intltool-update.in 2015-05-27 00:23:53.309078052 +0200
@@ -1068,7 +1068,7 @@ sub SubstituteVariable
my $untouched = $1;
my $sub = "";
# Ignore recursive definitions of variables
- $sub = $varhash{$2} if defined $varhash{$2} and $varhash{$2} !~ /\${?$2}?/;
+ $sub = $varhash{$2} if defined $varhash{$2} and $varhash{$2} !~ /\$\{?$2\}?/;
return SubstituteVariable ("$untouched$sub$rest");
}

View File

@ -1,7 +1,7 @@
# Template build file for 'intltool'.
pkgname=intltool
version=0.51.0
revision=3
revision=4
noarch=yes
build_style=gnu-configure
hostmakedepends="perl-XML-Parser"