1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-01 22:05:08 +00:00
freebsd-ports/graphics/xfractint/files/patch-ab

22 lines
598 B
Plaintext
Raw Normal View History

1997-10-07 11:48:49 +00:00
--- 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