summaryrefslogtreecommitdiff
path: root/geography/geos/patches
diff options
context:
space:
mode:
authorgdt <gdt@pkgsrc.org>2013-08-30 16:37:38 +0000
committergdt <gdt@pkgsrc.org>2013-08-30 16:37:38 +0000
commit6d51ac0c5b206281a58026bd3642dcfc55efd641 (patch)
tree9623a4af6d8b0568888189abac4b3c2fd6d3b8cd /geography/geos/patches
parent5d5d775e33a50f8379f988e5bf8de02199b01ce6 (diff)
downloadpkgsrc-6d51ac0c5b206281a58026bd3642dcfc55efd641.tar.gz
Update to 3.4.2.
patches/patch-include-geos-platform.h.in was applied upstream in r3902 (trunk) and r3903 (branches/3.4). Upstream NEWS: Changes in 3.4.2 2013-08-25 - Bug fixes / improvements - Use a double for PrecisionModel scale, avoiding overflows should fix 32-bit regression failures (#652) - isnan workaround OS detection missing NetBSD, DragonFly, Sun nuance (#650) - Do not distribute platform.h and version.h, but install both (#601) - Non-standard ChangeLog file in 3.4.0 and 3.4.1 releases (#654) - new travis bot (#657) - accept multiple Nan representations (#656)
Diffstat (limited to 'geography/geos/patches')
-rw-r--r--geography/geos/patches/patch-include-geos-platform.h.in21
1 files changed, 0 insertions, 21 deletions
diff --git a/geography/geos/patches/patch-include-geos-platform.h.in b/geography/geos/patches/patch-include-geos-platform.h.in
deleted file mode 100644
index abfdab74d61..00000000000
--- a/geography/geos/patches/patch-include-geos-platform.h.in
+++ /dev/null
@@ -1,21 +0,0 @@
-$NetBSD: patch-include-geos-platform.h.in,v 1.5 2013/08/18 11:06:25 gdt Exp $
-
-Fix isnan definition on NetBSD, DragonFly and SunOS platforms.
---- include/geos/platform.h.in.orig 2013-08-11 04:23:47.000000000 +0000
-+++ include/geos/platform.h.in
-@@ -91,11 +91,13 @@ extern "C"
- # elif defined(__MINGW32__) || defined(__CYGWIN__)
- // sandro furieri: sanitizing MinGW32
- # define ISNAN(x) (std::isnan(x))
--# elif defined(__OSX__) || defined(__APPLE__)
-+# elif defined(__OSX__) || defined(__APPLE__) || \
-+ defined(__NetBSD__) || defined(__DragonFly__) || \
-+ (defined(__sun) && defined(__GNUC__))
- // Hack for OS/X <cmath> incorrectly re-defining isnan() into oblivion.
- // It does leave a version in std.
- # define ISNAN(x) (std::isnan(x))
--# elif defined(__sun) || defined(__sun__)
-+# elif (defined(__sun) || defined(__sun__)) && defined(__SUNPRO_CC)
- # include <math.h>
- # define ISNAN(x) (::isnan(x))
- # endif