diff options
author | Anton Berezin <tobez@FreeBSD.org> | 2006-03-28 11:02:55 +0000 |
---|---|---|
committer | Anton Berezin <tobez@FreeBSD.org> | 2006-03-28 11:02:55 +0000 |
commit | 7e0a0166ab1954532d726ec9698462807423ba9e (patch) | |
tree | e0baa0b819024e77a3b336455ef075e0a943bce1 /devel/p5-Time-Piece | |
parent | 417c8cb90c90fe283d334f5f30afa68905011014 (diff) | |
download | ports-7e0a0166ab1954532d726ec9698462807423ba9e.tar.gz ports-7e0a0166ab1954532d726ec9698462807423ba9e.zip |
Get rid of "subroutine redefined" warnings.
PR: 94926
Submitted by: lth
Notes
Notes:
svn path=/head/; revision=158306
Diffstat (limited to 'devel/p5-Time-Piece')
-rw-r--r-- | devel/p5-Time-Piece/Makefile | 1 | ||||
-rw-r--r-- | devel/p5-Time-Piece/files/patch-Piece.pm | 10 |
2 files changed, 11 insertions, 0 deletions
diff --git a/devel/p5-Time-Piece/Makefile b/devel/p5-Time-Piece/Makefile index 3d3b1c0d1abe..0c6bfcc1285d 100644 --- a/devel/p5-Time-Piece/Makefile +++ b/devel/p5-Time-Piece/Makefile @@ -7,6 +7,7 @@ PORTNAME= Time-Piece PORTVERSION= 1.09 +PORTREVISION= 1 CATEGORIES= devel perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= Time diff --git a/devel/p5-Time-Piece/files/patch-Piece.pm b/devel/p5-Time-Piece/files/patch-Piece.pm new file mode 100644 index 000000000000..2b7c37fd2f3e --- /dev/null +++ b/devel/p5-Time-Piece/files/patch-Piece.pm @@ -0,0 +1,10 @@ +--- ./Piece.pm.orig Sun Feb 26 20:49:20 2006 ++++ ./Piece.pm Sun Feb 26 20:49:50 2006 +@@ -121,6 +121,7 @@ + for my $method (@methods) { + if (exists $_special_exports{$method}) { + no strict 'refs'; ++ local $^W; + *{$to . "::$method"} = $_special_exports{$method}->($class); + } else { + $class->SUPER::export($to, $method); |