summaryrefslogtreecommitdiff
path: root/devel/libslang/patches/patch-ad
diff options
context:
space:
mode:
Diffstat (limited to 'devel/libslang/patches/patch-ad')
-rw-r--r--devel/libslang/patches/patch-ad22
1 files changed, 22 insertions, 0 deletions
diff --git a/devel/libslang/patches/patch-ad b/devel/libslang/patches/patch-ad
new file mode 100644
index 00000000000..eab56e48ed7
--- /dev/null
+++ b/devel/libslang/patches/patch-ad
@@ -0,0 +1,22 @@
+$NetBSD: patch-ad,v 1.1 2008/02/29 16:44:55 jlam Exp $
+
+--- src/sltermin.c.orig 2003-03-23 02:06:40.000000000 -0500
++++ src/sltermin.c
+@@ -220,14 +220,13 @@ static char *Terminfo_Dirs [] =
+ {
+ NULL, /* $HOME/.terminfo */
+ NULL, /* $TERMINFO */
++#ifdef MISC_TERMINFO_DIRS
++ MISC_TERMINFO_DIRS,
++#endif
+ "/usr/share/terminfo",
+ "/usr/lib/terminfo",
+ "/usr/share/lib/terminfo",
+ "/etc/terminfo",
+- "/usr/local/lib/terminfo",
+-#ifdef MISC_TERMINFO_DIRS
+- MISC_TERMINFO_DIRS,
+-#endif
+ ""
+ };
+