Date: Sun, 5 Mar 1995 10:15:02 -0500 From: "Paul F. Werkowski" <pw@snoopy.MV.COM> To: ports@FreeBSD.org Subject: fix for gcl Message-ID: <199503051515.KAA00676@snoopy.mv.com>
next in thread | raw e-mail | index | archive | help
Could someone please add the following patch to ports/lang/gcl? The fix for LISTEN_FOR_INPUT was posted to comp.386bsd.something a few weeks ago and it would be nice to have it on the 2.1 CD. Thanks, Paul *** files/FreeBSD.h.orig Sun Mar 5 10:04:08 1995 --- files/FreeBSD.h Sun Mar 5 10:06:24 1995 *************** *** 30,36 **** #undef LISTEN_FOR_INPUT #define LISTEN_FOR_INPUT(fp) \ ! ((fp)->_r <=0 && (c=0, ioctl((fp)->_file, FIONREAD, &c), c<=0)) #ifdef IN_GBC #include <sys/types.h> --- 30,36 ---- #undef LISTEN_FOR_INPUT #define LISTEN_FOR_INPUT(fp) \ ! if((fp)->_r <=0 && (c=0, ioctl((fp)->_file, FIONREAD, &c), c<=0)) return 0 #ifdef IN_GBC #include <sys/types.h> *************** *** 52,57 **** --- 52,59 ---- #define PAGEWIDTH 12 /* i386 sees 4096 byte pages */ /* end for GC */ + #undef HAVE_SIGVEC /* defined in bsd.h - now obsolete */ + #define HAVE_SIGACTION /* replacement for SIGVEC */ #define SIG_STACK_SIZE (SIGSTKSZ/sizeof(double)) #define SETUP_SIG_STACK \ { \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199503051515.KAA00676>