$NetBSD: patch-al,v 1.10 2009/08/05 11:41:12 hasso Exp $

--- configure.orig	2009-06-09 08:50:42.000000000 +0200
+++ configure
@@ -11623,7 +11623,7 @@ fi
 
         old_LIBS="$LIBS"
         LIBS="$LIBS $MUTTLIBS"
-        for ac_func in start_color typeahead bkgdset curs_set meta use_default_colors resizeterm
+        for ac_func in start_color typeahead bkgdset curs_set meta use_default_colors resizeterm mvchgat mvwchgat
 do
 
 { $as_echo "$as_me:$LINENO: checking for $ac_func declaration" >&5
@@ -14939,7 +14939,7 @@ docdir=$mutt_cv_docdir
 
 if test x$mutt_cv_setgid = xyes; then
         DOTLOCK_GROUP='mail'
-        DOTLOCK_PERMISSION=2755
+        DOTLOCK_PERMISSION=2555
 else
         DOTLOCK_GROUP=''
         DOTLOCK_PERMISSION=755
