aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-UI-Dialog/files
diff options
context:
space:
mode:
authorShaun Amott <shaun@FreeBSD.org>2006-07-19 00:15:47 +0000
committerShaun Amott <shaun@FreeBSD.org>2006-07-19 00:15:47 +0000
commitbf4fbffd65c8c0036e9be79f03c5c0c3bc3e5ca4 (patch)
tree7de3d024ca4431f1f39794fa3ccf2f9b0d24dca8 /devel/p5-UI-Dialog/files
parentfbd9015a931e79b019c1cddfd18486928f8b43aa (diff)
downloadports-bf4fbffd65c8c0036e9be79f03c5c0c3bc3e5ca4.tar.gz
ports-bf4fbffd65c8c0036e9be79f03c5c0c3bc3e5ca4.zip
Notes
Diffstat (limited to 'devel/p5-UI-Dialog/files')
-rw-r--r--devel/p5-UI-Dialog/files/patch-lib_UI_Dialog_Backend_CDialog.pm20
1 files changed, 20 insertions, 0 deletions
diff --git a/devel/p5-UI-Dialog/files/patch-lib_UI_Dialog_Backend_CDialog.pm b/devel/p5-UI-Dialog/files/patch-lib_UI_Dialog_Backend_CDialog.pm
new file mode 100644
index 000000000000..9805a3a676f0
--- /dev/null
+++ b/devel/p5-UI-Dialog/files/patch-lib_UI_Dialog_Backend_CDialog.pm
@@ -0,0 +1,20 @@
+--- lib/UI/Dialog/Backend/CDialog.pm.orig Mon May 22 10:22:07 2006
++++ lib/UI/Dialog/Backend/CDialog.pm Mon May 22 10:22:26 2006
+@@ -63,7 +63,7 @@
+ $self->{'_opts'}->{'height'} = $cfg->{'height'} || 10;
+ $self->{'_opts'}->{'percentage'} = $cfg->{'percentage'} || 1;
+ $self->{'_opts'}->{'colours'} = ($cfg->{'colours'} || $cfg->{'colors'}) ? 1 : 0;
+- $self->{'_opts'}->{'bin'} ||= $self->_find_bin('dialog');
++ $self->{'_opts'}->{'bin'} ||= $self->_find_bin('cdialog');
+ $self->{'_opts'}->{'autoclear'} = $cfg->{'autoclear'} || 0;
+ $self->{'_opts'}->{'clearbefore'} = $cfg->{'clearbefore'} || 0;
+ $self->{'_opts'}->{'clearafter'} = $cfg->{'clearafter'} || 0;
+@@ -71,7 +71,7 @@
+ $self->{'_opts'}->{'beepbefore'} = $cfg->{'beepbefore'} || 0;
+ $self->{'_opts'}->{'beepafter'} = $cfg->{'beepafter'} || 0;
+ unless (-x $self->{'_opts'}->{'bin'}) {
+- croak("the dialog binary could not be found at: ".$self->{'_opts'}->{'bin'});
++ croak("the cdialog binary could not be found at: ".$self->{'_opts'}->{'bin'});
+ }
+ $self->{'_opts'}->{'DIALOGRC'} = $cfg->{'DIALOGRC'} || undef();
+ my $beginref = $cfg->{'begin'};