$OpenBSD: patch-Configure,v 1.8 2006/01/25 21:27:32 sturm Exp $
--- Configure.orig	Tue Jan 24 22:18:37 2006
+++ Configure	Wed Jan 25 20:56:34 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=''
@@ -1082,7 +1082,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"
@@ -5294,7 +5294,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;
@@ -7812,15 +7812,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
