From 5f1156b8c26cb5378bcccbf19bcda0684a36f881 Mon Sep 17 00:00:00 2001 From: tron Date: Fri, 12 Jun 2015 08:04:23 +0000 Subject: Fix build with Perl 5.22. --- security/skey/distinfo | 4 ++-- security/skey/patches/patch-aj | 18 ++++++++++++++---- 2 files changed, 16 insertions(+), 6 deletions(-) (limited to 'security') diff --git a/security/skey/distinfo b/security/skey/distinfo index 53ae5e81abf..b0d083c66e4 100644 --- a/security/skey/distinfo +++ b/security/skey/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.10 2011/01/04 14:20:00 obache Exp $ +$NetBSD: distinfo,v 1.11 2015/06/12 08:04:23 tron Exp $ SHA1 (skey-1.1.5.tar.bz2) = d55fb286098900cdf3eb6b174a720a06c722312a RMD160 (skey-1.1.5.tar.bz2) = 33d97cbcd6dbc91bdca5b27056d51d1f5d06b68d @@ -12,4 +12,4 @@ SHA1 (patch-af) = a2f46213568bb61cebbca658cf8bdb17e4150361 SHA1 (patch-ag) = 43db09ab58733b773ed30015984f724ba80d0e11 SHA1 (patch-ah) = dec25286d50cbe0181b9b4bc99bd92556e573b5e SHA1 (patch-ai) = ad90b480047a22b25bc2c6e416a224e892e501c9 -SHA1 (patch-aj) = ab360d1a032fec2faa43801d9c659716b9f24ab4 +SHA1 (patch-aj) = 940d50d33b36f00e6fa4cfffc13d3a5c41d4f2f9 diff --git a/security/skey/patches/patch-aj b/security/skey/patches/patch-aj index fb95167539c..e35b6cf8a8b 100644 --- a/security/skey/patches/patch-aj +++ b/security/skey/patches/patch-aj @@ -1,10 +1,20 @@ -$NetBSD: patch-aj,v 1.1 2011/01/04 14:20:00 obache Exp $ +$NetBSD: patch-aj,v 1.2 2015/06/12 08:04:23 tron Exp $ * defined(%hash) is deprecated. +* defined(@array) is deprecated. ---- fixpaths.orig 2001-05-10 16:10:49.000000000 +0000 -+++ fixpaths -@@ -26,7 +26,7 @@ while ($_=$ARGV[0], /^-/) { +--- fixpaths.orig 2001-05-10 17:10:49.000000000 +0100 ++++ fixpaths 2015-06-12 09:02:03.000000000 +0100 +@@ -7,7 +7,7 @@ + + $ext="out"; + +-if (!defined(@ARGV)) { die ("$usage"); } ++if (!@ARGV) { die ("$usage"); } + + # read in the command line and get some definitions + while ($_=$ARGV[0], /^-/) { +@@ -26,7 +26,7 @@ } } # while parsing arguments -- cgit v1.2.3