Update to 2.03a + readlink fix.

This commit is contained in:
Akinori MUSHA 2003-04-19 12:35:58 +00:00
parent fc37200bcd
commit a818e9a307
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=79275
4 changed files with 34 additions and 9 deletions

View file

@ -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/

View file

@ -1 +1 @@
MD5 (FD-2.03.tar.gz) = 7fc35b4dff6cf2c2cacc2bb8a1469327
MD5 (FD-2.03a.tar.gz) = e0298e41e98bdd89ecc25b3660d0bef9

View file

@ -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__

View file

@ -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);
}