Created
July 26, 2017 06:07
-
-
Save xywei/03b546054f0d2e2f76c5ac530c88268a to your computer and use it in GitHub Desktop.
A patch for automake to compile it with later versions of Perl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- automake.in 2015-01-06 03:25:55.000000000 +0800 | |
+++ automake.in.patched 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; | |
} |
I got this error
The text leading up to this was:
|--- automake.in 2015-01-06 03:25:55.000000000 +0800
|+++ automake.in.patched 2017-07-26 13:58:07.086205701 +0800
File to patch: patch.txt
checking file patch.txt
Using Plan A...
patch unexpectedly ends in middle of line
Hunk #1 FAILED at 3878.
1 out of 1 hunk FAILED
done
The issue that this patch was trying to fix had been patched upstream since autotools-mirror/automake@13f00eb. There is no need to apply this patch for automake>=1.15.1
.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Just for future reference, this patch allowed me to build automake-1.15 successfully in Ubuntu 18.