aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-IO-Prompt
diff options
context:
space:
mode:
authorSergey Skvortsov <skv@FreeBSD.org>2009-01-22 17:45:15 +0000
committerSergey Skvortsov <skv@FreeBSD.org>2009-01-22 17:45:15 +0000
commit73f3ace03432846807a9c7ae10053ae3f0372866 (patch)
tree12a13f9c3e5151f6082ef6ab2f824624c3a7779d /devel/p5-IO-Prompt
parent0a3634953d534aab8592684e00184797c483fbb1 (diff)
downloadports-73f3ace03432846807a9c7ae10053ae3f0372866.tar.gz
ports-73f3ace03432846807a9c7ae10053ae3f0372866.zip
Notes
Diffstat (limited to 'devel/p5-IO-Prompt')
-rw-r--r--devel/p5-IO-Prompt/Makefile1
-rw-r--r--devel/p5-IO-Prompt/files/patch-Prompt.pm10
2 files changed, 11 insertions, 0 deletions
diff --git a/devel/p5-IO-Prompt/Makefile b/devel/p5-IO-Prompt/Makefile
index 738d3482a410..1523600865b9 100644
--- a/devel/p5-IO-Prompt/Makefile
+++ b/devel/p5-IO-Prompt/Makefile
@@ -8,6 +8,7 @@
PORTNAME= IO-Prompt
PORTVERSION= 0.99.4
DISTVERSIONPREFIX= v
+PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
diff --git a/devel/p5-IO-Prompt/files/patch-Prompt.pm b/devel/p5-IO-Prompt/files/patch-Prompt.pm
new file mode 100644
index 000000000000..13b7f037dcb4
--- /dev/null
+++ b/devel/p5-IO-Prompt/files/patch-Prompt.pm
@@ -0,0 +1,10 @@
+--- Prompt.pm
++++ Prompt.pm
+@@ -88,6 +88,7 @@
+ @data = map { $flags_alias{$_} || $_ } @data;
+ for (my $i = 0 ; $i < @data ; $i++) {
+ local *_ = \($data[$i]);
++ next unless defined $_;
+ if (ref eq 'HASH') {
+ splice @data, $i + 1, 0, %$_;
+ }