summaryrefslogtreecommitdiffstats
path: root/shells/fd
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2001-04-10 11:48:26 +0000
committerknu <knu@FreeBSD.org>2001-04-10 11:48:26 +0000
commit64e037428c9986f02ec15cfcdb1437cc1d2ccc0c (patch)
treed00c8a55c6951316cd4083e21dc9ad02677b131e /shells/fd
parentcfdcafe2ad61173762a8a2a8569dd782274125e5 (diff)
downloadFreeBSD-ports-64e037428c9986f02ec15cfcdb1437cc1d2ccc0c.zip
FreeBSD-ports-64e037428c9986f02ec15cfcdb1437cc1d2ccc0c.tar.gz
Re-update to 1.03r with a hotfix from the author. PORTREVISION is set
to 1 now due to this whole matter. Submitted by: MAINTAINER
Diffstat (limited to 'shells/fd')
-rw-r--r--shells/fd/Makefile3
-rw-r--r--shells/fd/distinfo2
-rw-r--r--shells/fd/files/patch-browse.c11
-rw-r--r--shells/fd/files/patch-shell.c12
4 files changed, 26 insertions, 2 deletions
diff --git a/shells/fd/Makefile b/shells/fd/Makefile
index a8f9405..5e9e5bc 100644
--- a/shells/fd/Makefile
+++ b/shells/fd/Makefile
@@ -6,7 +6,8 @@
#
PORTNAME= fd
-PORTVERSION= 1.03q
+PORTVERSION= 1.03r
+PORTREVISION= 1
CATEGORIES= misc
MASTER_SITES= http://hp.vector.co.jp/authors/VA012337/soft/fd/ \
${MASTER_SITE_LOCAL}
diff --git a/shells/fd/distinfo b/shells/fd/distinfo
index fa7d5c8..7bfd0e9 100644
--- a/shells/fd/distinfo
+++ b/shells/fd/distinfo
@@ -1 +1 @@
-MD5 (FD-1.03q.tar.gz) = 9b4ee116be9916817cc4d1dfd3d22442
+MD5 (FD-1.03r.tar.gz) = 943d17ccc6257340c29db8362bac67fa
diff --git a/shells/fd/files/patch-browse.c b/shells/fd/files/patch-browse.c
new file mode 100644
index 0000000..e3c8c7e
--- /dev/null
+++ b/shells/fd/files/patch-browse.c
@@ -0,0 +1,11 @@
+diff -urNP ../FD-1.03r/browse.c ./browse.c
+--- ../FD-1.03r/browse.c Tue Apr 3 00:00:00 2001
++++ ./browse.c Tue Apr 10 00:00:00 2001
+@@ -1305,6 +1305,7 @@
+ }
+ else if (_chdir2(cp) >= 0) strcpy(tmp, cp);
+ else {
++ *fullpath = '\0';
+ warning(-1, cp);
+ def = NULL;
+ strcpy(fullpath, origpath);
diff --git a/shells/fd/files/patch-shell.c b/shells/fd/files/patch-shell.c
new file mode 100644
index 0000000..942eff6
--- /dev/null
+++ b/shells/fd/files/patch-shell.c
@@ -0,0 +1,12 @@
+diff -urNP ../FD-1.03r/shell.c ./shell.c
+--- ../FD-1.03r/shell.c Tue Apr 3 00:00:00 2001
++++ ./shell.c Tue Apr 10 00:00:00 2001
+@@ -240,7 +240,7 @@
+ if (flags & (F_NOEXT | F_TOSFN));
+ else if (c == '%') c = command[++i];
+ else {
+- line[j++] = c;
++ line[j++] = command[i];
+ #if !MSDOS
+ if (command[i] == META && command[i + 1]
+ && uneval != '\'')
OpenPOWER on IntegriCloud