summaryrefslogtreecommitdiff
path: root/graphics/xfractint/files/patch-unix__unixscr.c
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2010-10-01 18:52:21 +0000
committerRenato Botelho <garga@FreeBSD.org>2010-10-01 18:52:21 +0000
commit0c13254f97dc78cb4201221b6459172416cc35b7 (patch)
treed0df5f36041530850d04d9759b9b48a1c7cb5153 /graphics/xfractint/files/patch-unix__unixscr.c
parentDrop maintainership. (diff)
- Update to 20.04p09
- Pass maintainership to Paul B Mahol <onemda@gmail.com> Submitted by: Paul B Mahol <onemda@gmail.com> (by email)
Diffstat (limited to 'graphics/xfractint/files/patch-unix__unixscr.c')
-rw-r--r--graphics/xfractint/files/patch-unix__unixscr.c20
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);
+ /*