diff options
Diffstat (limited to 'graphics/xfractint/files/patch-unix__unixscr.c')
-rw-r--r-- | graphics/xfractint/files/patch-unix__unixscr.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/graphics/xfractint/files/patch-unix__unixscr.c b/graphics/xfractint/files/patch-unix__unixscr.c new file mode 100644 index 000000000000..6be470754ec8 --- /dev/null +++ b/graphics/xfractint/files/patch-unix__unixscr.c @@ -0,0 +1,20 @@ +--- ./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); + /* |