- applied patch to remove several Perl warnings

PR: 89244
Submitted by: Jim Pirzyk
Approved by: tobez
This commit is contained in:
Aaron Dalton 2005-11-21 22:30:51 +00:00
parent f9a625d694
commit f39d5d211a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=148980
2 changed files with 11 additions and 1 deletions

View File

@ -7,7 +7,7 @@
PORTNAME= Config-Objective
PORTVERSION= 0.9.1
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Config

View File

@ -0,0 +1,10 @@
--- ./grammar.yp.orig Tue Nov 15 14:09:30 2005
+++ ./grammar.yp Tue Nov 15 14:09:51 2005
@@ -251,6 +251,7 @@
### if a previous condition was true
return undef
if ($config->{'in_expr'}
+ && @{$config->{'cond_stack'}}
&& $config->{'cond_stack'}->[-1] == CS_NO_EVAL);
### for statements, don't evaluate if we're inside a