geometry/geos: Fix DragonFly
DragonFly need the same platform.h.in modification that NetBSD requires for ISNAN support.
This commit is contained in:
parent
bfa23193ff
commit
d21a93449f
2 changed files with 4 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
||||||
$NetBSD: distinfo,v 1.12 2011/09/21 13:15:20 joerg Exp $
|
$NetBSD: distinfo,v 1.13 2011/12/01 19:13:05 marino Exp $
|
||||||
|
|
||||||
SHA1 (geos-3.3.0.tar.bz2) = f6c6e3398d5c7bf389a0610a0d06896d76ad4480
|
SHA1 (geos-3.3.0.tar.bz2) = f6c6e3398d5c7bf389a0610a0d06896d76ad4480
|
||||||
RMD160 (geos-3.3.0.tar.bz2) = 724f535739ec88607083b72452481b155297fd2b
|
RMD160 (geos-3.3.0.tar.bz2) = 724f535739ec88607083b72452481b155297fd2b
|
||||||
Size (geos-3.3.0.tar.bz2) = 1765056 bytes
|
Size (geos-3.3.0.tar.bz2) = 1765056 bytes
|
||||||
SHA1 (patch-ae) = b687857a95931a7f9a0dc5e1c2290db0e76f603e
|
SHA1 (patch-ae) = b687857a95931a7f9a0dc5e1c2290db0e76f603e
|
||||||
SHA1 (patch-include-geos-platform.h.in) = 07f947a2d2ec3bc2419626c44b1d4a754565cedc
|
SHA1 (patch-include-geos-platform.h.in) = 9a21765e0b2c40abda49d4316179d5e126169765
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
$NetBSD: patch-include-geos-platform.h.in,v 1.1 2011/09/21 13:15:20 joerg Exp $
|
$NetBSD: patch-include-geos-platform.h.in,v 1.2 2011/12/01 19:13:05 marino Exp $
|
||||||
|
|
||||||
--- include/geos/platform.h.in.orig 2011-09-21 08:51:25.000000000 +0000
|
--- include/geos/platform.h.in.orig 2011-09-21 08:51:25.000000000 +0000
|
||||||
+++ include/geos/platform.h.in
|
+++ include/geos/platform.h.in
|
||||||
|
@ -7,7 +7,7 @@ $NetBSD: patch-include-geos-platform.h.in,v 1.1 2011/09/21 13:15:20 joerg Exp $
|
||||||
// sandro furieri: sanitizing MinGW32
|
// sandro furieri: sanitizing MinGW32
|
||||||
# define ISNAN(x) (std::isnan(x))
|
# define ISNAN(x) (std::isnan(x))
|
||||||
-# elif defined(__OSX__) || defined(__APPLE__)
|
-# elif defined(__OSX__) || defined(__APPLE__)
|
||||||
+# elif defined(__OSX__) || defined(__APPLE__) || defined(__NetBSD__)
|
+# elif defined(__OSX__) || defined(__APPLE__) || defined(__NetBSD__) || defined(__DragonFly__)
|
||||||
// Hack for OS/X <cmath> incorrectly re-defining isnan() into oblivion.
|
// Hack for OS/X <cmath> incorrectly re-defining isnan() into oblivion.
|
||||||
// It does leave a version in std.
|
// It does leave a version in std.
|
||||||
# define ISNAN(x) (std::isnan(x))
|
# define ISNAN(x) (std::isnan(x))
|
||||||
|
|
Loading…
Reference in a new issue