freebsd-ports/graphics/xfractint/files/patch-unix__unixscr.c
Renato Botelho 0c13254f97 - Update to 20.04p09
- Pass maintainership to Paul B Mahol <onemda@gmail.com>

Submitted by:	Paul B Mahol <onemda@gmail.com> (by email)
2010-10-01 18:52:21 +00:00

20 lines
496 B
C

--- ./unix/unixscr.c.orig 2008-05-03 13:52:03.000000000 -0400
+++ ./unix/unixscr.c 2010-01-27 13:52:46.000000000 -0500
@@ -54,7 +54,7 @@
#define FNDELAY O_NDELAY
#endif
#endif
-#ifdef __SVR4
+#if defined (__SVR4) || defined(__FreeBSD__)
# include <sys/filio.h>
# define FNDELAY O_NONBLOCK
#endif
@@ -339,7 +339,7 @@
initdacbox();
if (!simple_input) {
- signal(SIGINT,(SignalHandler)goodbye);
+ signal(SIGINT,(sig_t)goodbye);
}
signal(SIGFPE, fpe_handler);
/*