$NetBSD: patch-al,v 1.1 2014/01/12 17:43:37 wiz Exp $

--- configure.orig	2010-08-25 16:31:47.000000000 +0000
+++ configure
@@ -7836,7 +7836,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:${as_lineno-$LINENO}: checking for $ac_func declaration" >&5
@@ -8856,7 +8856,7 @@ fi
 
 if test x$mutt_cv_setgid = xyes; then
         DOTLOCK_GROUP='mail'
-        DOTLOCK_PERMISSION=2755
+        DOTLOCK_PERMISSION=2555
 else
         DOTLOCK_GROUP=''
         DOTLOCK_PERMISSION=755
