summaryrefslogtreecommitdiff
path: root/editors/joe/patches
diff options
context:
space:
mode:
authorad <ad@pkgsrc.org>2000-03-24 14:46:47 +0000
committerad <ad@pkgsrc.org>2000-03-24 14:46:47 +0000
commit9cb96cb1c00357194dcc5ee7948bcbcc15871563 (patch)
tree10634d045576a5e131fa0d5a46863e9f73c83a1f /editors/joe/patches
parent212b279beec919b6b4eee6136d4f7f5d54315805 (diff)
downloadpkgsrc-9cb96cb1c00357194dcc5ee7948bcbcc15871563.tar.gz
On NetBSD, look for termcap in /usr/share/misc.
Diffstat (limited to 'editors/joe/patches')
-rw-r--r--editors/joe/patches/patch-ad16
1 files changed, 16 insertions, 0 deletions
diff --git a/editors/joe/patches/patch-ad b/editors/joe/patches/patch-ad
new file mode 100644
index 00000000000..fe081bcfdd0
--- /dev/null
+++ b/editors/joe/patches/patch-ad
@@ -0,0 +1,16 @@
+$NetBSD: patch-ad,v 1.1 2000/03/24 14:46:47 ad Exp $
+
+--- termcap.c.orig Fri Mar 24 14:36:38 2000
++++ termcap.c Fri Mar 24 14:37:22 2000
+@@ -191,7 +191,11 @@
+ namebuf=0;
+ namebuf=vsncpy(sv(namebuf),sc(".termcap "));
+ namebuf=vsncpy(sv(namebuf),sc(JOERC));
++#ifdef __NetBSD__
++ namebuf=vsncpy(sv(namebuf),sc("termcap /usr/share/misc/termcap"));
++#else
+ namebuf=vsncpy(sv(namebuf),sc("termcap /etc/termcap"));
++#endif
+ }
+ }
+