From 6aaca09e1759c4072d301dbd5e91a20eb0dfb112 Mon Sep 17 00:00:00 2001 From: Stefan Fritsch Date: Sat, 28 May 2016 11:51:44 +0200 Subject: Fix a2enmod to run on perl 5.14 to simplify backports --- debian/a2enmod | 4 ++-- debian/changelog | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/debian/a2enmod b/debian/a2enmod index 196b22d3..350a285c 100755 --- a/debian/a2enmod +++ b/debian/a2enmod @@ -11,8 +11,8 @@ use File::Spec; use File::Basename; use File::Path; use Getopt::Long; -use feature ':5.16'; -no warnings "experimental::smartmatch"; +use 5.014; +no if $] >= 5.017011, warnings => 'experimental::smartmatch'; my $quiet; my $force; diff --git a/debian/changelog b/debian/changelog index 19c9a114..a023ac70 100644 --- a/debian/changelog +++ b/debian/changelog @@ -6,6 +6,7 @@ apache2 (2.4.20-2) UNRELEASED; urgency=medium Stangner for the patch. Closes: #822144 * Remove links to manpages.debian.org in default index.html to avoid broken robots doing a DoS on the site. Closes: #821313 + * Fix a2enmod to run on perl 5.14 to simplify backports. Closes: #821956 -- Stefan Fritsch Sat, 28 May 2016 10:58:26 +0200 -- cgit v1.2.3