summaryrefslogtreecommitdiff
path: root/textproc/p5-Time-Human/files/Human.pm-5005.patch
diff options
context:
space:
mode:
authorPeter Pentchev <roam@FreeBSD.org>2007-02-16 16:20:09 +0000
committerPeter Pentchev <roam@FreeBSD.org>2007-02-16 16:20:09 +0000
commit5bb118f3069663b949e22194cd9a2bd041b68fd8 (patch)
tree0385a51026aef0c15e1461d9c1b0bb244e60cc02 /textproc/p5-Time-Human/files/Human.pm-5005.patch
parent- Respect NOPORTDOCS (diff)
Update to Time-Human 1.03 as per the PR.
While I'm here, add a 'test' Makefile target to run the (trivial) test suite. PR: 109050 Submitted by: Li-Wen Hsu <lwhsu@lwhsu.org>
Notes
Notes: svn path=/head/; revision=185323
Diffstat (limited to 'textproc/p5-Time-Human/files/Human.pm-5005.patch')
-rw-r--r--textproc/p5-Time-Human/files/Human.pm-5005.patch16
1 files changed, 7 insertions, 9 deletions
diff --git a/textproc/p5-Time-Human/files/Human.pm-5005.patch b/textproc/p5-Time-Human/files/Human.pm-5005.patch
index 84bd659d5f3a..4cef9635b715 100644
--- a/textproc/p5-Time-Human/files/Human.pm-5005.patch
+++ b/textproc/p5-Time-Human/files/Human.pm-5005.patch
@@ -1,8 +1,6 @@
---- Human.pm.orig Thu May 30 14:01:27 2002
-+++ Human.pm Tue Jun 29 11:52:35 2004
-@@ -1,12 +1,15 @@
-+#!/usr/bin/perl -w
-+
+--- Human.pm.orig Sun Feb 11 22:58:56 2007
++++ Human.pm Sun Feb 11 23:00:27 2007
+@@ -1,12 +1,13 @@
package Time::Human;
-require 5.005_62;
@@ -19,7 +17,7 @@
# Items to export into callers namespace by default. Note: do not export
# names by default without a very good reason. Use EXPORT_OK instead.
-@@ -15,19 +18,19 @@
+@@ -15,19 +16,19 @@
# This allows declaration use Time::Human ':all';
# If you do not need this, moving things directly into @EXPORT or @EXPORT_OK
# will save memory.
@@ -36,15 +34,15 @@
humanize
);
--our $VERSION = '1.02';
-+$VERSION = '1.02';
+-our $VERSION = '1.03';
++$VERSION = '1.03';
-our %templates = (
+%templates = (
English => {
numbers => [ qw(one two three four five six seven eight nine ten eleven twelve) ],
-@@ -43,9 +46,9 @@
+@@ -43,9 +44,9 @@
}
);