diff options
Diffstat (limited to 'math/xfractint/patches/patch-ao')
-rw-r--r-- | math/xfractint/patches/patch-ao | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/math/xfractint/patches/patch-ao b/math/xfractint/patches/patch-ao new file mode 100644 index 00000000000..f868272faac --- /dev/null +++ b/math/xfractint/patches/patch-ao @@ -0,0 +1,31 @@ +$NetBSD: patch-ao,v 1.1 2006/06/14 09:07:45 rillig Exp $ + +--- port.h.orig 1999-09-06 17:38:10.000000000 +0200 ++++ port.h 2006-06-15 08:52:47.000000000 +0200 +@@ -42,7 +42,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)) +-#if defined(sgi) ++#if defined(sgi) || defined(__NetBSD__) + #include <sys/endian.h> + #else + #include <endian.h> +@@ -290,6 +290,9 @@ typedef int sigfunc(int); + #ifdef sun + #define DO_NOT_USE_LONG_DOUBLE + #endif ++#if defined(__NetBSD__) ++#define DO_NOT_USE_LONG_DOUBLE ++#endif + + #ifndef DO_NOT_USE_LONG_DOUBLE + #ifdef LDBL_DIG +@@ -353,6 +356,7 @@ typedef int sigfunc(int); + #define fabsl fabs + #define sinl sin + #define cosl cos ++#define frexpl frexp + #endif + + #endif /* PORT_H */ |