tags 719867 + patch
kthxbye

Attached is a patch that fixes the FTBFS.  With the patch, it builds
successfully.

-- 
brian m. carlson / brian with sandals: Houston, Texas, US
+1 832 623 2791 | http://www.crustytoothpaste.net/~bmc | My opinion only
OpenPGP: RSA v4 4096b: 88AC E9B2 9196 305B A994 7552 F1BA 225C 0223 B187
From 562d80c48e8924f07af8bba42a7b20a1b328b9c8 Mon Sep 17 00:00:00 2001
From: "brian m. carlson" <sand...@crustytoothpaste.net>
Date: Sat, 17 Aug 2013 01:31:49 +0000
Subject: [PATCH] Fix Perl module broken with Perl 5.18.

Perl 5.18 stopped allowing qw() to be treated as if it had parentheses
surrounding it; now the parentheses must be explicit.  Add the parentheses to
avoid a build failure.
---
 src/DefaultSig.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/DefaultSig.pm b/src/DefaultSig.pm
index ec838b4..fe9d189 100644
--- a/src/DefaultSig.pm
+++ b/src/DefaultSig.pm
@@ -19,7 +19,7 @@ use Sys::Hostname;
 
 our %HAVE_MODULE;
 BEGIN {
-    foreach my $module qw(Time::Zone) {
+    foreach my $module (qw(Time::Zone)) {
         eval "use $module ()"; # import, but keep module's original name space for clarity
         $HAVE_MODULE{$module} = $EVAL_ERROR eq '';
     }
-- 
1.8.4.rc2.564.g10ce5ae

Attachment: signature.asc
Description: Digital signature

Reply via email to