mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 16:42:09 +00:00
automake111x: fix for perl5.26 ("Unescaped left brace in regex is illegal here") (#42649)
This commit is contained in:
parent
dda16ec6ad
commit
b43c7bd934
|
@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "1ffbc6cc41f0ea6c864fbe9485b981679dc5e350f6c4bc6c3512f5a4226936b5";
|
||||
};
|
||||
|
||||
patches = [ ./fix-test-autoconf-2.69.patch ];
|
||||
patches = [ ./fix-test-autoconf-2.69.patch ./fix-perl-5.26.patch ];
|
||||
|
||||
buildInputs = [perl autoconf makeWrapper];
|
||||
|
||||
|
|
10
pkgs/development/tools/misc/automake/fix-perl-5.26.patch
Normal file
10
pkgs/development/tools/misc/automake/fix-perl-5.26.patch
Normal file
|
@ -0,0 +1,10 @@
|
|||
--- automake-1.11.2/automake.in
|
||||
+++ automake-1.11.2/automake.in
|
||||
@@ -4156,7 +4156,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;
|
||||
}
|
Loading…
Reference in a new issue