summaryrefslogtreecommitdiff
path: root/graphics/xfractint/files/patch-common__soi.c
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/xfractint/files/patch-common__soi.c')
-rw-r--r--graphics/xfractint/files/patch-common__soi.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/graphics/xfractint/files/patch-common__soi.c b/graphics/xfractint/files/patch-common__soi.c
new file mode 100644
index 000000000000..5e3675523756
--- /dev/null
+++ b/graphics/xfractint/files/patch-common__soi.c
@@ -0,0 +1,21 @@
+--- ./common/soi.c.orig 2004-11-23 08:13:37.000000000 -0500
++++ ./common/soi.c 2010-01-27 13:52:46.000000000 -0500
+@@ -13,7 +13,9 @@
+ */
+ #include <time.h>
+ #include <string.h>
++#ifndef BIG_ANSI_C
+ #include <malloc.h>
++#endif
+ #include "port.h"
+ #include "prototyp.h"
+
+@@ -21,7 +23,7 @@
+ #define FABS(x) fabsl(x)
+ /* the following needs to be changed back to frexpl once the portability
+ issue has been addressed JCO */
+-#ifndef XFRACT
++#ifndef __FreeBSD__
+ #define FREXP(x,y) frexpl(x,y)
+ #else
+ #define FREXP(x,y) frexp(x,y)