diff options
author | tmpfile <tmpfile@users.noreply.github.com> | 2017-09-07 09:21:12 -0300 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2017-09-08 08:38:27 +0000 |
commit | a6efc97a75189ae494521293dd4ec9a37f47a6c7 (patch) | |
tree | 8eccda291c3103fd9242eea6f8a70821e6e29215 /main/intltool/intltool-perl-regexp.patch | |
parent | 162941d08c4cb20fef1d7045711be48d88e78340 (diff) | |
download | aports-a6efc97a75189ae494521293dd4ec9a37f47a6c7.tar.bz2 aports-a6efc97a75189ae494521293dd4ec9a37f47a6c7.tar.xz |
main/intltool: update perl-regexp patch
Diffstat (limited to 'main/intltool/intltool-perl-regexp.patch')
-rw-r--r-- | main/intltool/intltool-perl-regexp.patch | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/main/intltool/intltool-perl-regexp.patch b/main/intltool/intltool-perl-regexp.patch index 34ee03aa7d..f423bee92f 100644 --- a/main/intltool/intltool-perl-regexp.patch +++ b/main/intltool/intltool-perl-regexp.patch @@ -1,6 +1,6 @@ --- a/intltool-update.in.orig 2015-03-09 01:39:54.000000000 +0000 +++ b/intltool-update.in 2017-01-22 20:14:20.359080387 +0000 -@@ -1062,7 +1062,7 @@ +@@ -1062,13 +1062,13 @@ } } @@ -9,6 +9,13 @@ { my $rest = $3; 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"); + } @@ -1190,10 +1190,10 @@ $name =~ s/\(+$//g; $version =~ s/\(+$//g; @@ -41,4 +48,3 @@ } # \s makes this not work, why? - |