intltool: Fix instance of Unescaped left brace in regex
Found out while trying to run tests on glade3
This commit is contained in:
parent
c27037c476
commit
9cd7b8d9b0
|
@ -44,3 +44,14 @@ Unescaped left brace in regex is deprecated, passed through in regex; marked by
|
||||||
}
|
}
|
||||||
|
|
||||||
# \s makes this not work, why?
|
# \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");
|
||||||
|
}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template build file for 'intltool'.
|
# Template build file for 'intltool'.
|
||||||
pkgname=intltool
|
pkgname=intltool
|
||||||
version=0.51.0
|
version=0.51.0
|
||||||
revision=3
|
revision=4
|
||||||
noarch=yes
|
noarch=yes
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
hostmakedepends="perl-XML-Parser"
|
hostmakedepends="perl-XML-Parser"
|
||||||
|
|
Loading…
Reference in New Issue