opnsense-ports/textproc/p5-Text-Template/files/patch-lib_Text_Template.pm
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

10 lines
285 B
Perl

--- 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."::"};
}
}