aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-Time-Piece/files/patch-Piece.pm
diff options
context:
space:
mode:
Diffstat (limited to 'devel/p5-Time-Piece/files/patch-Piece.pm')
-rw-r--r--devel/p5-Time-Piece/files/patch-Piece.pm10
1 files changed, 10 insertions, 0 deletions
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);