aboutsummaryrefslogtreecommitdiffstats
path: root/shells/fd/files
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2003-04-19 20:35:58 +0800
committerknu <knu@FreeBSD.org>2003-04-19 20:35:58 +0800
commit3987dd0f9d41f4ae80f97b097871feee62683130 (patch)
tree2d237ea5078e25a0eba28616a383135bad80c531 /shells/fd/files
parentb9da67778e3746650e72c24e54bd6daa76ea4aa0 (diff)
downloadfreebsd-ports-gnome-3987dd0f9d41f4ae80f97b097871feee62683130.tar.gz
freebsd-ports-gnome-3987dd0f9d41f4ae80f97b097871feee62683130.tar.zst
freebsd-ports-gnome-3987dd0f9d41f4ae80f97b097871feee62683130.zip
Update to 2.03a + readlink fix.
Diffstat (limited to 'shells/fd/files')
-rw-r--r--shells/fd/files/patch-Makefile.in26
-rw-r--r--shells/fd/files/patch-dosemu.c13
2 files changed, 32 insertions, 7 deletions
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);
+ }
+