Commit a6efc97a authored by tmpfile's avatar tmpfile Committed by Timo Teräs

main/intltool: update perl-regexp patch

parent 162941d0
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=intltool
pkgver=0.51.0
pkgrel=3
pkgrel=4
pkgdesc="The internationalization tool collection"
url="http://freedesktop.org/wiki/Software/intltool"
arch="noarch"
......@@ -32,4 +32,4 @@ package() {
}
sha512sums="4c93cb26592ed0b1622d3b7800b5d6622ffa36f58ac73f2ef0bddfab522565fdfb8fa73d81914b9a202f1d62bc995a08960f8adb9f62c86918e75498e85fbfdf intltool-0.51.0.tar.gz
297a9ed5e97e3f116332a9193d254598d541c7f931b91229b788ca66e9bfc109c2badcc75e5e8d45464c086bab9ffeddb564291ef34cd35b505b354b9e834aa7 intltool-perl-regexp.patch"
119386effcacde4e41250fe527bd868e5f2dea4b46856313126bc664f22a1513980f2ab7dc37317ca4f6be6daa2617127f07477ad312f2ff7bc360120a30627a intltool-perl-regexp.patch"
--- 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?
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment