summaryrefslogtreecommitdiff
path: root/news/tin/patches
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2010-02-25 16:05:57 +0000
committerdrochner <drochner@pkgsrc.org>2010-02-25 16:05:57 +0000
commitf8438d7f39865b4b8a43faf645a055e672040aee (patch)
treec400480f52f094cde0ec0bb314b2ff4d449f5f83 /news/tin/patches
parent9ecf3ce51e7b335274abb50f6c1164863f35b925 (diff)
downloadpkgsrc-f8438d7f39865b4b8a43faf645a055e672040aee.tar.gz
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
Diffstat (limited to 'news/tin/patches')
-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
+