summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Swenson <titanofold@gentoo.org>2013-10-21 00:27:01 +0000
committerAaron Swenson <titanofold@gentoo.org>2013-10-21 00:27:01 +0000
commiteb7e5b728925aa4febd666c000f96aaa099553ae (patch)
tree2b21efb1ec1fd5713993bc30e6d6e967b6ad77e8 /sci-libs/geos/files
parentStablize 3.2.51-r2/3.11.2 on amd64/x86, remove oldest stables (diff)
downloadhistorical-eb7e5b728925aa4febd666c000f96aaa099553ae.tar.gz
historical-eb7e5b728925aa4febd666c000f96aaa099553ae.tar.bz2
historical-eb7e5b728925aa4febd666c000f96aaa099553ae.zip
version bump
Package-Manager: portage-2.1.12.2/cvs/Linux x86_64 Manifest-Sign-Key: 0xD1BBFDA0
Diffstat (limited to 'sci-libs/geos/files')
-rw-r--r--sci-libs/geos/files/3.4.2-solaris-isnan.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/sci-libs/geos/files/3.4.2-solaris-isnan.patch b/sci-libs/geos/files/3.4.2-solaris-isnan.patch
new file mode 100644
index 000000000000..a66d36f6587d
--- /dev/null
+++ b/sci-libs/geos/files/3.4.2-solaris-isnan.patch
@@ -0,0 +1,14 @@
+diff -Naruw geos-3.4.2.orig/include/geos/platform.h.in geos-3.4.2/include/geos/platform.h.in
+--- geos-3.4.2.orig/include/geos/platform.h.in 2013-08-25 15:10:32.000000000 +0000
++++ geos-3.4.2/include/geos/platform.h.in 2013-10-20 23:45:29.891690795 +0000
+@@ -98,8 +98,9 @@
+ // It does leave a version in std.
+ # define ISNAN(x) (std::isnan(x))
+ # elif (defined(__sun) || defined(__sun__)) && defined(__SUNPRO_CC)
++# define _XOPEN_SOURCE 600 //force iso/math_c99
+ # include <math.h>
+-# define ISNAN(x) (::isnan(x))
++# define ISNAN(x) (std::isnan(x))
+ # endif
+ #endif
+