ports/graphics/xfractint/files/patch-unix__unixscr.c
Fernando Apesteguía 36f6324e7b graphics/xfractint: Update to 20.04p16
ChangeLog: https://fractint.net/ftp/current/dos/whatsnew.txt

PR:	253107
Submitted by:	m.ne@gmx.net
Approved by:	onemda@gmail.com (maintainer, timeout > 2 weeks)
2021-02-19 07:40:00 +00:00

20 lines
455 B
C

--- unix/unixscr.c.orig 2015-08-09 13:46:52 UTC
+++ unix/unixscr.c
@@ -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
@@ -337,7 +337,7 @@ UnixInit()
initdacbox();
if (!simple_input) {
- signal(SIGINT,(SignalHandler)goodbye);
+ signal(SIGINT,(sig_t)goodbye);
}
signal(SIGFPE, fpe_handler);
/*