summaryrefslogtreecommitdiff
path: root/news/tin/patches/patch-am
diff options
context:
space:
mode:
Diffstat (limited to 'news/tin/patches/patch-am')
-rw-r--r--news/tin/patches/patch-am22
1 files changed, 22 insertions, 0 deletions
diff --git a/news/tin/patches/patch-am b/news/tin/patches/patch-am
new file mode 100644
index 00000000000..291fb80965a
--- /dev/null
+++ b/news/tin/patches/patch-am
@@ -0,0 +1,22 @@
+$NetBSD: patch-am,v 1.1 2010/02/25 16:05:57 drochner Exp $
+
+--- configure.orig 2009-02-11 20:29:48.000000000 +0000
++++ configure
+@@ -7996,6 +7996,9 @@ test "$cf_cv_curses_dir" != "no" && { \
+ if test -n "$cf_cv_curses_dir/include $cf_cv_curses_dir/include/$cf_ncuhdr_root" ; then
+ for cf_add_incdir in $cf_cv_curses_dir/include $cf_cv_curses_dir/include/$cf_ncuhdr_root
+ do
++ if ! [ -d $cf_add_incdir ]; then
++ continue;
++ fi
+ while test $cf_add_incdir != /usr/include
+ do
+ if test -d $cf_add_incdir
+@@ -8093,7 +8096,6 @@ printf("%s\n", NCURSES_VERSION);
+ #ifdef __NCURSES_H
+ printf("old\n");
+ #else
+- make an error
+ #endif
+ #endif
+