summaryrefslogtreecommitdiff
path: root/textproc/p5-Text-Template/files/patch-lib_Text_Template.pm
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/p5-Text-Template/files/patch-lib_Text_Template.pm')
-rw-r--r--textproc/p5-Text-Template/files/patch-lib_Text_Template.pm10
1 files changed, 10 insertions, 0 deletions
diff --git a/textproc/p5-Text-Template/files/patch-lib_Text_Template.pm b/textproc/p5-Text-Template/files/patch-lib_Text_Template.pm
new file mode 100644
index 000000000000..890a01d0a59e
--- /dev/null
+++ b/textproc/p5-Text-Template/files/patch-lib_Text_Template.pm
@@ -0,0 +1,10 @@
+--- lib/Text/Template.pm.orig 2008-04-16 18:38:08.000000000 -0500
++++ lib/Text/Template.pm 2012-03-17 06:44:14.882739137 -0500
+@@ -428,6 +428,8 @@
+ foreach my $key (keys %$hash) {
+ undef $hash->{$key};
+ }
++ %$hash = ();
++ delete $Text::Template::{$s."::"};
+ }
+ }