util/dofile.pl: require Text::Template 1.46 or newer
authorRichard Levitte <levitte@openssl.org>
Mon, 9 Jul 2018 19:10:10 +0000 (21:10 +0200)
committerRichard Levitte <levitte@openssl.org>
Tue, 10 Jul 2018 14:34:35 +0000 (16:34 +0200)
The reason is that we override Text::Template::append_text_to_output(),
and it didn't exist before Text::Template 1.46.

Fixes #6641

Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/6682)

(cherry picked from commit 4e351ca92e3a1f447cef3d2e330f13941f9412c6)

util/dofile.pl

index a932941cd5ad6bbf5f0562985ddb78cf20084148..4533c135a30ef4af91d0a345eff5ef62e74fa74a 100644 (file)
@@ -40,7 +40,7 @@ package OpenSSL::Template;
 use File::Basename;
 use File::Spec::Functions;
 use lib "$FindBin::Bin/perl";
-use with_fallback qw(Text::Template);
+use with_fallback "Text::Template 1.46";
 
 #use parent qw/Text::Template/;
 use vars qw/@ISA/;