aboutsummaryrefslogtreecommitdiffstats
path: root/shells/pdksh
diff options
context:
space:
mode:
authortg <tg@FreeBSD.org>2007-01-08 06:00:21 +0800
committertg <tg@FreeBSD.org>2007-01-08 06:00:21 +0800
commit4cd08090772ad139a15a4001078f24f71e568120 (patch)
treee8610fc6debda80f86249735e4584347e3a86f2d /shells/pdksh
parentda1b6d1d23cb1dd496807ef1c740c80ae07cd282 (diff)
downloadfreebsd-ports-gnome-4cd08090772ad139a15a4001078f24f71e568120.tar.gz
freebsd-ports-gnome-4cd08090772ad139a15a4001078f24f71e568120.tar.zst
freebsd-ports-gnome-4cd08090772ad139a15a4001078f24f71e568120.zip
Fix calculation of prompt length. Bump PORTREVISION.
PR: 107410 Submitted by: Bruce Becker <hostmaster at whois dot gts dot net>
Diffstat (limited to 'shells/pdksh')
-rw-r--r--shells/pdksh/Makefile2
-rw-r--r--shells/pdksh/files/patch-edit.c10
2 files changed, 11 insertions, 1 deletions
diff --git a/shells/pdksh/Makefile b/shells/pdksh/Makefile
index 85c6d9d72101..e39e0ccb03dd 100644
--- a/shells/pdksh/Makefile
+++ b/shells/pdksh/Makefile
@@ -7,7 +7,7 @@
PORTNAME= pdksh
PORTVERSION= 5.2.14p2
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= shells
MASTER_SITES= ftp://ftp.cs.mun.ca/pub/pdksh/ \
http://gd.tuwien.ac.at/utils/shells/pdksh/ \
diff --git a/shells/pdksh/files/patch-edit.c b/shells/pdksh/files/patch-edit.c
new file mode 100644
index 000000000000..e4f7b6ecbcc7
--- /dev/null
+++ b/shells/pdksh/files/patch-edit.c
@@ -0,0 +1,10 @@
+--- edit.c.orig Thu May 13 19:04:33 1999
++++ edit.c Sun Jan 7 22:48:23 2007
+@@ -344,6 +344,7 @@
+ */
+ if (*cp && cp[1] == '\r') {
+ delimiter = *cp;
++ indelimit = !indelimit;
+ cp += 2;
+ }
+