summaryrefslogtreecommitdiffstats
path: root/graphics/xfractint/files/patch-ab
blob: 22c697d6d2c3b83485a3b08393f6e4f41585353b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- port.h.orig	Fri Feb 28 05:21:13 1997
+++ port.h	Tue Oct  7 13:27:56 1997
@@ -40,7 +40,7 @@
 /* If endian.h is not present, it can be handled in the code below, */
 /* but if you have this file, it can make it more fool proof. */
 #if (defined(XFRACT) && !defined(__sun))
-#include <endian.h>
+#include <machine/endian.h>
 #endif
 #ifndef BIG_ENDIAN
 #define BIG_ENDIAN    4321  /* to show byte order (taken from gcc) */
@@ -282,6 +282,9 @@
 #define DO_NOT_USE_LONG_DOUBLE
 #endif
 #ifdef sun
+#define DO_NOT_USE_LONG_DOUBLE
+#endif
+#ifdef __FreeBSD__
 #define DO_NOT_USE_LONG_DOUBLE
 #endif
 
OpenPOWER on IntegriCloud