From 679558291b939afb708cfaf843cd73d6e4f5fca8 Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Wed, 24 Jun 2015 15:04:46 +0200 Subject: [PATCH] automake: silence Perl 5.22 warning. --- srcpkgs/automake/patches/perl522.patch | 11 +++++++++++ srcpkgs/automake/template | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/automake/patches/perl522.patch diff --git a/srcpkgs/automake/patches/perl522.patch b/srcpkgs/automake/patches/perl522.patch new file mode 100644 index 00000000000..d2dc6d2186d --- /dev/null +++ b/srcpkgs/automake/patches/perl522.patch @@ -0,0 +1,11 @@ +--- bin/automake.in.orig ++++ bin/automake.in +@@ -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; + } + diff --git a/srcpkgs/automake/template b/srcpkgs/automake/template index 02ab59866c5..3fa7de5b21b 100644 --- a/srcpkgs/automake/template +++ b/srcpkgs/automake/template @@ -1,7 +1,7 @@ # Template build file for 'automake'. pkgname=automake version=1.15 -revision=3 +revision=4 noarch=yes build_style=gnu-configure hostmakedepends="perl autoconf"