intltool: add patch to fix compatibility with Perl 5.26
authorJörg Krause <joerg.krause@embedded.rocks>
Thu, 8 Jun 2017 07:03:44 +0000 (09:03 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 11 Jun 2017 13:51:33 +0000 (15:51 +0200)
commit9426d7edf0702d6ce46db45943ae9023a60cc1be
tree814ece84134fe861144dd054688448530e401d2e
parent9cd762de56345f2798e208926dca7dd52c97e1e7
intltool: add patch to fix compatibility with Perl 5.26

When Perl 5.26 is installed on the host, building some packages like
avahi fail, because of intltool-update:

```
Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/^(.*)\${ <-- HERE ?([A-Z_]+)}?(.*)$/ at $BUILDROOT/host/usr/bin/intltool-update line 1065.
```

Apparently, this has been a warning before Perl 5.26, but now it is an
error.

Fetch from:
https://github.com/Alexpux/MSYS2-packages/blob/master/intltool/perl-5.22-compatibility.patch

Reported upstream:
https://bugs.launchpad.net/intltool/+bug/1696658

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/intltool/0001-perl-5.26-compatibility.patch [new file with mode: 0644]