summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Fritsch <sf@sfritsch.de>2016-05-28 11:51:44 +0200
committerStefan Fritsch <sf@sfritsch.de>2016-05-28 11:51:44 +0200
commit6aaca09e1759c4072d301dbd5e91a20eb0dfb112 (patch)
treed324cbd455894e9f0ebd66947c65e3a27dcad8c6
parent423c773a6872d5ba87d07caf6ef7d73360d1c6b1 (diff)
downloadapache2-6aaca09e1759c4072d301dbd5e91a20eb0dfb112.tar.gz
Fix a2enmod to run on perl 5.14 to simplify backports
-rwxr-xr-xdebian/a2enmod4
-rw-r--r--debian/changelog1
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 <sf@debian.org> Sat, 28 May 2016 10:58:26 +0200