Skip to content

Instantly share code, notes, and snippets.

@nathansgreen
Forked from xywei/patch.txt
Last active October 30, 2019 15:25
Show Gist options
  • Save nathansgreen/5cf037e959c2175d9e5477eb94fc2592 to your computer and use it in GitHub Desktop.
Save nathansgreen/5cf037e959c2175d9e5477eb94fc2592 to your computer and use it in GitHub Desktop.
A patch for automake to compile it with later versions of Perl
Allow recent versions of Perl to compile automake.
For Yocto. Tested on poky (krogoth branch).
From https://gist.github.com/xywei/03b546054f0d2e2f76c5ac530c88268a
--- a/bin/automake.in 2015-01-06 03:25:55.000000000 +0800
+++ b/bin/automake.in 2017-07-26 13:58:07.086205701 +0800
@@ -3878,7 +3878,7 @@
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;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment