aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authoraaron <aaron@FreeBSD.org>2005-11-22 06:30:51 +0800
committeraaron <aaron@FreeBSD.org>2005-11-22 06:30:51 +0800
commite7aaa0b3515c433f5a3dcc915b59475d9ddc9754 (patch)
treec7735f76fd403e1404ce9806db67192c78840e31 /devel
parentf5763beed9651cbdf6b95e12fb0387debe77d6cd (diff)
downloadfreebsd-ports-gnome-e7aaa0b3515c433f5a3dcc915b59475d9ddc9754.tar.gz
freebsd-ports-gnome-e7aaa0b3515c433f5a3dcc915b59475d9ddc9754.tar.zst
freebsd-ports-gnome-e7aaa0b3515c433f5a3dcc915b59475d9ddc9754.zip
- applied patch to remove several Perl warnings
PR: 89244 Submitted by: Jim Pirzyk Approved by: tobez
Diffstat (limited to 'devel')
-rw-r--r--devel/p5-Config-Objective/Makefile2
-rw-r--r--devel/p5-Config-Objective/files/patch-grammar.yp10
2 files changed, 11 insertions, 1 deletions
diff --git a/devel/p5-Config-Objective/Makefile b/devel/p5-Config-Objective/Makefile
index 39ab315f28f3..4f7a9e0732dc 100644
--- a/devel/p5-Config-Objective/Makefile
+++ b/devel/p5-Config-Objective/Makefile
@@ -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
diff --git a/devel/p5-Config-Objective/files/patch-grammar.yp b/devel/p5-Config-Objective/files/patch-grammar.yp
new file mode 100644
index 000000000000..23a9a1061a60
--- /dev/null
+++ b/devel/p5-Config-Objective/files/patch-grammar.yp
@@ -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