Gfx Stack Update
[nyanlinux.git] / builders / intltool-0 / regex.patch
blobd8dbcb3abaff7ce6902458822d9c985341a30495
1 === modified file 'intltool-update.in'
2 --- intltool-update.in 2014-05-14 02:15:53 +0000
3 +++ intltool-update.in 2016-01-19 19:06:54 +0000
4 @@ -1062,7 +1062,7 @@
8 - if ($str =~ /^(.*)\${?([A-Z_]+)}?(.*)$/)
9 + if ($str =~ /^(.*)\$\{?([A-Z_]+)}?(.*)$/)
11 my $rest = $3;
12 my $untouched = $1;
13 @@ -1190,10 +1190,10 @@
14 $name =~ s/\(+$//g;
15 $version =~ s/\(+$//g;
17 - $varhash{"PACKAGE_NAME"} = $name if (not $name =~ /\${?AC_PACKAGE_NAME}?/);
18 - $varhash{"PACKAGE"} = $name if (not $name =~ /\${?PACKAGE}?/);
19 - $varhash{"PACKAGE_VERSION"} = $version if (not $name =~ /\${?AC_PACKAGE_VERSION}?/);
20 - $varhash{"VERSION"} = $version if (not $name =~ /\${?VERSION}?/);
21 + $varhash{"PACKAGE_NAME"} = $name if (not $name =~ /\$\{?AC_PACKAGE_NAME}?/);
22 + $varhash{"PACKAGE"} = $name if (not $name =~ /\$\{?PACKAGE}?/);
23 + $varhash{"PACKAGE_VERSION"} = $version if (not $name =~ /\$\{?AC_PACKAGE_VERSION}?/);
24 + $varhash{"VERSION"} = $version if (not $name =~ /\$\{?VERSION}?/);
27 if ($conf_source =~ /^AC_INIT\(([^,\)]+),([^,\)]+)[,]?([^,\)]+)?/m)
28 @@ -1219,11 +1219,11 @@
29 $version =~ s/\(+$//g;
30 $bugurl =~ s/\(+$//g if (defined $bugurl);
32 - $varhash{"PACKAGE_NAME"} = $name if (not $name =~ /\${?AC_PACKAGE_NAME}?/);
33 - $varhash{"PACKAGE"} = $name if (not $name =~ /\${?PACKAGE}?/);
34 - $varhash{"PACKAGE_VERSION"} = $version if (not $name =~ /\${?AC_PACKAGE_VERSION}?/);
35 - $varhash{"VERSION"} = $version if (not $name =~ /\${?VERSION}?/);
36 - $varhash{"PACKAGE_BUGREPORT"} = $bugurl if (defined $bugurl and not $bugurl =~ /\${?\w+}?/);
37 + $varhash{"PACKAGE_NAME"} = $name if (not $name =~ /\$\{?AC_PACKAGE_NAME}?/);
38 + $varhash{"PACKAGE"} = $name if (not $name =~ /\$\{?PACKAGE}?/);
39 + $varhash{"PACKAGE_VERSION"} = $version if (not $name =~ /\$\{?AC_PACKAGE_VERSION}?/);
40 + $varhash{"VERSION"} = $version if (not $name =~ /\$\{?VERSION}?/);
41 + $varhash{"PACKAGE_BUGREPORT"} = $bugurl if (defined $bugurl and not $bugurl =~ /\$\{?\w+}?/);
44 # \s makes this not work, why?