diff options
Diffstat (limited to 'cad/boolean/patches/patch-ab')
-rw-r--r-- | cad/boolean/patches/patch-ab | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/cad/boolean/patches/patch-ab b/cad/boolean/patches/patch-ab index 576f1c4a59c..a871c051277 100644 --- a/cad/boolean/patches/patch-ab +++ b/cad/boolean/patches/patch-ab @@ -1,17 +1,25 @@ -$NetBSD: patch-ab,v 1.3 2005/08/24 11:30:18 dmcmahill Exp $ +$NetBSD: patch-ab,v 1.4 2006/03/28 20:42:48 joerg Exp $ --- apps/edit/include/valuesvc.h.orig 2005-03-04 14:21:08.000000000 +0000 +++ apps/edit/include/valuesvc.h 2005-08-11 01:52:56.000000000 +0000 -@@ -42,4 +42,5 @@ +@@ -38,9 +38,10 @@ +
+ #else
+
+-#if defined(__NetBSD__)
++#if defined(__NetBSD__) || defined(__DragonFly__)
#include <math.h>
+#include <limits.h>
#include <float.h>
-@@ -49,5 +50,5 @@ +
+@@ -48,7 +49,7 @@ + #define MAXDOUBLE DBL_MAX
#endif
#ifndef MAXLONG
-#define MAXLONG 0x7fffffff
+#define MAXLONG LONG_MAX
#endif
#else
+
|