summaryrefslogtreecommitdiff
path: root/editors/p5-Padre-Plugin-Vi/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'editors/p5-Padre-Plugin-Vi/patches/patch-ab')
-rw-r--r--editors/p5-Padre-Plugin-Vi/patches/patch-ab32
1 files changed, 32 insertions, 0 deletions
diff --git a/editors/p5-Padre-Plugin-Vi/patches/patch-ab b/editors/p5-Padre-Plugin-Vi/patches/patch-ab
new file mode 100644
index 00000000000..04248ecd67a
--- /dev/null
+++ b/editors/p5-Padre-Plugin-Vi/patches/patch-ab
@@ -0,0 +1,32 @@
+$NetBSD: patch-ab,v 1.1 2010/08/20 19:15:28 sno Exp $
+
+Patch to switch from Wx::Perl::Dialog (Padre-0.66) to Padre::Wx::Dialog
+
+--- lib/Padre/Plugin/Vi/CommandLine.pm.orig 2010-08-20 19:07:14.000000000 +0000
++++ lib/Padre/Plugin/Vi/CommandLine.pm
+@@ -3,11 +3,11 @@ package Padre::Plugin::Vi::CommandLine;
+ use warnings;
+ use strict;
+
+-use Cwd ();
+-use Wx::Perl::Dialog ();
+-use Padre::Wx ();
+-use File::Spec ();
+-use File::Basename ();
++use Cwd ();
++use Padre::Wx::Dialog ();
++use Padre::Wx ();
++use File::Spec ();
++use File::Basename ();
+
+ use Padre::Plugin::Vi::TabCompletition qw(clear_tab handle_tab set_original_cwd);
+
+@@ -66,7 +66,7 @@ sub dialog {
+
+ my $main = Padre->ide->wx->main;
+ if ( not $dialog ) {
+- $dialog = Wx::Perl::Dialog->new(
++ $dialog = Padre::Wx::Dialog->new(
+ parent => $main->{notebook},
+ title => "Command Line",
+ layout => \@layout,