diff options
author | spz <spz@pkgsrc.org> | 2011-09-25 14:00:09 +0000 |
---|---|---|
committer | spz <spz@pkgsrc.org> | 2011-09-25 14:00:09 +0000 |
commit | 96ea9c8bdfec8ea531b918d442311100643e7e75 (patch) | |
tree | a8c994b196f6b1022b1a24693b8d17c5b6897b1b /news/inn/patches/patch-an | |
parent | 706454282fffe78fe1606b2f22c9260716079bf5 (diff) | |
download | pkgsrc-96ea9c8bdfec8ea531b918d442311100643e7e75.tar.gz |
fix innreport to be perl 5.12 compatible
Diffstat (limited to 'news/inn/patches/patch-an')
-rw-r--r-- | news/inn/patches/patch-an | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/news/inn/patches/patch-an b/news/inn/patches/patch-an new file mode 100644 index 00000000000..4d1fd4e597a --- /dev/null +++ b/news/inn/patches/patch-an @@ -0,0 +1,15 @@ +$NetBSD: patch-an,v 1.1 2011/09/25 14:00:09 spz Exp $ + +remove deprecated perl features that don't do anything useful anyway +(replicate change in INN trunk) + +--- ./scripts/innreport_inn.pm.orig 2010-03-24 20:10:36.000000000 +0000 ++++ ./scripts/innreport_inn.pm +@@ -2430,7 +2430,6 @@ sub report_unwanted_ng($) { + # Compare 2 dates (+hour), used with sort (arguments $a and $b) + sub datecmp() { + # ex: "May 12 06" for May 12, 6:00am +- local($[) = 0; + # The 2 dates are near. The range is less than a few days that's why we + # can cheat to determine the order. It is only important if one date + # is in January and the other in December. |