diff options
author | he <he> | 2011-01-17 12:52:15 +0000 |
---|---|---|
committer | he <he> | 2011-01-17 12:52:15 +0000 |
commit | cfa0f0aad65695993abe6a7f822db7e5c9e6be2d (patch) | |
tree | 1238e85f8b3ca17c98ce25497ad7b6b744305b4e /time/titrax | |
parent | bc28808e82fe51441eca5f5f79a0c98f2b36cb81 (diff) | |
download | pkgsrc-cfa0f0aad65695993abe6a7f822db7e5c9e6be2d.tar.gz |
Fix the sumtitra script to work without warning from newer perl.
Diffstat (limited to 'time/titrax')
-rw-r--r-- | time/titrax/Makefile | 4 | ||||
-rw-r--r-- | time/titrax/distinfo | 4 | ||||
-rw-r--r-- | time/titrax/patches/patch-ac | 18 |
3 files changed, 19 insertions, 7 deletions
diff --git a/time/titrax/Makefile b/time/titrax/Makefile index 91b3f7d93c1..c58d6224c60 100644 --- a/time/titrax/Makefile +++ b/time/titrax/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.23 2009/07/07 20:02:12 joerg Exp $ +# $NetBSD: Makefile,v 1.24 2011/01/17 12:52:15 he Exp $ # DISTNAME= titrax-1.98 -PKGREVISION= 4 +PKGREVISION= 5 CATEGORIES= x11 time MASTER_SITES= ${MASTER_SITE_XCONTRIB:=office/} diff --git a/time/titrax/distinfo b/time/titrax/distinfo index fd603c73bde..93e4e7d99c4 100644 --- a/time/titrax/distinfo +++ b/time/titrax/distinfo @@ -1,9 +1,9 @@ -$NetBSD: distinfo,v 1.5 2009/04/16 09:54:45 he Exp $ +$NetBSD: distinfo,v 1.6 2011/01/17 12:52:15 he Exp $ SHA1 (titrax-1.98.tar.gz) = 2849f8930aac945d435f58ad0a2a98fc19477da0 RMD160 (titrax-1.98.tar.gz) = 519898ed0d74b50d1a01041a6479fb4974823f3e Size (titrax-1.98.tar.gz) = 41154 bytes SHA1 (patch-aa) = 3e303f061b9f92397f01fe9cb337adfa85194dde SHA1 (patch-ab) = 03ea1f434ab68ccd408830c778a462c083729c95 -SHA1 (patch-ac) = 90aa3156fd42963049ac8931326f59d80b699aad +SHA1 (patch-ac) = 2fbad9d6cdbc5239cf2a25ab057f640452c5a33e SHA1 (patch-ad) = 49ab87c6c5d1574bcef3baf6d0c8a4c8e0220583 diff --git a/time/titrax/patches/patch-ac b/time/titrax/patches/patch-ac index b62e8782313..34e9e272689 100644 --- a/time/titrax/patches/patch-ac +++ b/time/titrax/patches/patch-ac @@ -1,8 +1,20 @@ -$NetBSD: patch-ac,v 1.1 2001/06/12 10:35:06 wiz Exp $ +$NetBSD: patch-ac,v 1.2 2011/01/17 12:52:15 he Exp $ ---- sumtitra.orig Tue Oct 17 14:44:48 1995 +Fix a "year 2000" bug, and fix this to work without warning +with newer perl. + +--- sumtitra.orig 1995-10-17 13:44:48.000000000 +0000 +++ sumtitra -@@ -150,7 +150,7 @@ +@@ -83,7 +83,7 @@ $DATE'startday = $startday; + $endday = $startday + $numdays - 1; + + # Find which week to sum for +-$week = shift(ARGV); ++$week = shift(@ARGV); + $oneday = 24 * 60 * 60; + if (!$week) { + # Default is last week. +@@ -150,7 +150,7 @@ if ($nameadd) { } else { print "$name\n"; } |