$OpenBSD: patch-Configure,v 1.9 2006/03/05 10:06:46 sturm Exp $
--- Configure.orig	Wed Feb 22 17:50:18 2006
+++ Configure	Sun Mar  5 10:40:00 2006
@@ -323,7 +323,7 @@ d_memcpy=''
 d_msghdr_msg_flags=''
 d_nls=''
 d_open3=''
-d_portable=''
+d_portable='define'
 d_random=''
 d_rusage=''
 d_sa_interrupt=''
@@ -1083,7 +1083,7 @@ for file in $*; do
 			dir=`expr X$file : 'X\(.*\)/'`
 			file=`expr X$file : 'X.*/\(.*\)'`
 			./mkdirp $dir
-			sh <"$SRC/$dir/$file"
+			cd $dir && sh $SRC/$dir/$file
 			;;
 		*)
 			sh <"$SRC/$file"
@@ -5295,7 +5295,7 @@ main(void) {
   static struct kevent changes[1], events[1];
   static struct timespec ts;
   static unsigned long filters[] = { EVFILT_READ, EVFILT_WRITE,
-    EVFILT_TIMER, EVFILT_SIGNAL, EVFILT_PROC, EVFILT_VNODE };
+    EVFILT_SIGNAL, EVFILT_PROC, EVFILT_VNODE };
   int kq = kqueue();
   int fd = 0;
   unsigned long flags;
@@ -7839,15 +7839,6 @@ If you'd like to make any changes to the
 to configure things, do it as a shell escape now (e.g. !vi config.sh).
 
 EOM
-	rp="Press return or use a shell escape to edit config.sh:"
-	. UU/myread
-	nostick=''
-	case "$ans" in
-	'') ;;
-	*) : in case they cannot read
-		sh 1>&4 -c "$ans";;
-	esac
-	;;
 esac
 
 : if this fails, just run all the .SH files by hand
