summaryrefslogtreecommitdiff
path: root/shells/fd
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2003-04-19 12:35:58 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2003-04-19 12:35:58 +0000
commita818e9a3075ad1ed61f333f062281f3f89c7cad0 (patch)
tree2e5e6053e65837ba36fa5d5b564fe5e2332c249b /shells/fd
parentAdd dancer-services, the IRC services (nickserv, chanserv, etc.) for (diff)
Update to 2.03a + readlink fix.
Diffstat (limited to 'shells/fd')
-rw-r--r--shells/fd/Makefile2
-rw-r--r--shells/fd/distinfo2
-rw-r--r--shells/fd/files/patch-Makefile.in26
-rw-r--r--shells/fd/files/patch-dosemu.c13
4 files changed, 34 insertions, 9 deletions
diff --git a/shells/fd/Makefile b/shells/fd/Makefile
index 0243d3a55729..7f6b38bea832 100644
--- a/shells/fd/Makefile
+++ b/shells/fd/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= fd
-PORTVERSION= 2.03
+PORTVERSION= 2.03a
CATEGORIES= shells
MASTER_SITES= http://hp.vector.co.jp/authors/VA012337/soft/fd/ \
ftp://ftp.vector.co.jp/pack/unix/util/file/filer/fd/
diff --git a/shells/fd/distinfo b/shells/fd/distinfo
index 3419eed055e5..0b3633ef7a9d 100644
--- a/shells/fd/distinfo
+++ b/shells/fd/distinfo
@@ -1 +1 @@
-MD5 (FD-2.03.tar.gz) = 7fc35b4dff6cf2c2cacc2bb8a1469327
+MD5 (FD-2.03a.tar.gz) = e0298e41e98bdd89ecc25b3660d0bef9
diff --git a/shells/fd/files/patch-Makefile.in b/shells/fd/files/patch-Makefile.in
index 9547dce545ad..38cfa39eebab 100644
--- a/shells/fd/files/patch-Makefile.in
+++ b/shells/fd/files/patch-Makefile.in
@@ -1,8 +1,20 @@
---- Makefile.in.orig Fri Jan 11 00:00:00 2002
-+++ Makefile.in Thu Jan 31 22:33:39 2002
-@@ -7 +7 @@
--PREFIX = /usr/local
-+PREFIX ?= /usr/local
-@@ -15 +15 @@
--DEFRC = /etc/fd__RCVERSION__rc
+--- Makefile.in.orig Tue Apr 15 00:00:00 2003
++++ Makefile.in Sat Apr 19 21:17:22 2003
+@@ -4,7 +4,7 @@
+
+ TITLE = FD-
+ VERSION = __VERSION__
+-PREFIX = __PREFIX__
++PREFIX ?= __PREFIX__
+ BUILD =
+ MANSEC = 1
+ TOPDIR = $(BUILD)$(PREFIX)
+@@ -16,7 +16,7 @@
+ ECATDIR = $(TOPDIR)/man/cat$(MANSEC)
+ IPKWDIR = ./ipk.work
+ IPKTDIR = ./ipk.tmp
+-DEFRC = $(BUILD)/etc/fd__RCVERSION__rc
+DEFRC = $(TOPDIR)/etc/fd__RCVERSION__rc
+ DOSRC = ~FD\\fd__RCVERSION__rc
+ UNITBL = fd-unicd.tbl
+ INSTALL = __INSTALL__
diff --git a/shells/fd/files/patch-dosemu.c b/shells/fd/files/patch-dosemu.c
new file mode 100644
index 000000000000..b06cd3d08a08
--- /dev/null
+++ b/shells/fd/files/patch-dosemu.c
@@ -0,0 +1,13 @@
+Taken from: [FDclone-users:00142]
+
+--- dosemu.c.orig Tue Apr 15 00:00:00 2003
++++ dosemu.c Sat Apr 19 21:07:17 2003
+@@ -581,7 +581,7 @@
+ #else
+ path = lbuf;
+ #endif
+- strncpy(buf, path, bufsiz);
++ for (len = 0; len < bufsiz && path[len]; len++) buf[len] = path[len];
+ return(len);
+ }
+