From f8438d7f39865b4b8a43faf645a055e672040aee Mon Sep 17 00:00:00 2001 From: drochner Date: Thu, 25 Feb 2010 16:05:57 +0000 Subject: fix a configure check which could easily get into an endless loop, and remove a pointless test for a __NCURSES_H symbol in the curses header, now this can build against NetBSD's wide curses --- news/tin/patches/patch-am | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 news/tin/patches/patch-am (limited to 'news/tin/patches') 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 + -- cgit v1.2.3