openbsd-ports/net/gtk-gnutella/patches/patch-Configure
2006-01-17 20:50:46 +00:00

47 lines
1.2 KiB
Plaintext

$OpenBSD: patch-Configure,v 1.7 2006/01/17 20:50:46 sturm Exp $
--- Configure.orig Tue Nov 22 22:46:57 2005
+++ Configure Sat Nov 26 18:53:22 2005
@@ -321,7 +321,7 @@ d_memcpy=''
d_msghdr_msg_flags=''
d_nls=''
d_open3=''
-d_portable=''
+d_portable='define'
d_random=''
d_rusage=''
d_sendfile=''
@@ -1078,7 +1078,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"
@@ -5207,7 +5207,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;
@@ -7664,15 +7664,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