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:32:20 +0000 (16:32 +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)

util/dofile.pl

index b0e2068..c3bc9ba 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/;