summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorad <ad>2000-03-24 14:46:47 +0000
committerad <ad>2000-03-24 14:46:47 +0000
commitc768156f8be39f87a791e0efed62ee4ff66c1f6c (patch)
tree10634d045576a5e131fa0d5a46863e9f73c83a1f /editors
parentcd276f413a3466040bcc6315f13969a1bad7ee49 (diff)
downloadpkgsrc-c768156f8be39f87a791e0efed62ee4ff66c1f6c.tar.gz
On NetBSD, look for termcap in /usr/share/misc.
Diffstat (limited to 'editors')
-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
+ }
+ }
+