# New Ticket Created by "Lee Duhem" # Please include the string: [perl #41163] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=41163 >
This patch suppress some uninitialized value warning in config/inter/yacc.pm when use --maintainer option at configure. $ diffstat /tmp/yacc.patch yacc.pm | 3 ++- 1 files changed, 2 insertions(+), 1 deletion(-)
Index: config/inter/yacc.pm =================================================================== --- config/inter/yacc.pm (revision 16381) +++ config/inter/yacc.pm (working copy) @@ -89,7 +89,8 @@ # someday we might need to check $3 also. my ( $prog_major, $prog_minor, $prog_patch ) = ( $1, $2, $3 ); - my $prog_version = "$1.$2$3"; + $prog_patch = $3 ? $3 : ""; + my $prog_version = "$1.$2$prog_patch"; # is there a version requirement? my $req = $conf->options->get('bison_required');