freebsd-ports/graphics/xfractint-devel/files/patch-common__soi.c
Greg Larkin 7b57233073 Xfractint - The Unix port of fractint, devel version
Fractint is an IBM PC program to generate fractals, and was written by
the Stone Soup Group.

The UNIX port was done by Ken Shirriff and modified by Scott D. Boyd.

WWW: http://www.fractint.org

PR:		ports/138637
Submitted by:	onemda at gmail.com
2010-01-27 21:43:41 +00:00

21 lines
533 B
C

--- ./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)