From 10c9aa5d78496f4a79629108f932a1702a2288d0 Mon Sep 17 00:00:00 2001 From: PsychoXIVI Date: Mon, 11 Jun 2018 20:31:29 +0200 Subject: automake: fix deprecated syntax for newer perl versions --- plugins/native/automake-1-fixes.patch | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 plugins/native/automake-1-fixes.patch diff --git a/plugins/native/automake-1-fixes.patch b/plugins/native/automake-1-fixes.patch new file mode 100644 index 0000000..1ce1f1f --- /dev/null +++ b/plugins/native/automake-1-fixes.patch @@ -0,0 +1,28 @@ +This file is part of MXE. See LICENSE.md for licensing information. + +Contains ad hoc patches for cross building. + +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Patryk (PsychoX) Ludwikowski +Date: Sun, 10 Jun 2018 06:49:41 +0000 +Subject: [PATCH 1/1] Avoids deprecated syntax that causes failure in newer versions of Perl. + +Contains patch for using too new Perl. Avoids deprecated syntax that causes failure in newer versions of Perl. More info at https://github.com/mxe/mxe/issues/2140 + +Backported from: +http://git.savannah.gnu.org/cgit/automake.git/commit/?id=13f00eb4493c217269b76614759e452d8302955e +Original author: Paul Eggert +Signed-off-by: Adam Duskett + +diff --git a/bin/automake.in b/bin/automake.in +index 1111111..2222222 100644 +--- a/bin/automake.in ++++ b/bin/automake.in +@@ -3878,7 +3878,7 @@ sub substitute_ac_subst_variables_worker + sub substitute_ac_subst_variables + { + my ($text) = @_; +- $text =~ s/\${([^ \t=:+{}]+)}/substitute_ac_subst_variables_worker ($1)/ge; ++ $text =~ s/\$[{]([^ \t=:+{}]+)}/substitute_ac_subst_variables_worker ($1)/ge; + return $text; + } -- cgit v0.12