diff options
-rw-r--r-- | meta-oe/recipes-navigation/geos/files/fix-gcc6-isnan.patch | 22 | ||||
-rw-r--r-- | meta-oe/recipes-navigation/geos/geos.inc | 2 | ||||
-rw-r--r-- | meta-oe/recipes-navigation/geos/geos_3.4.2.bb | 7 | ||||
-rw-r--r-- | meta-oe/recipes-navigation/geos/geos_3.4.3.bb | 7 |
4 files changed, 8 insertions, 30 deletions
diff --git a/meta-oe/recipes-navigation/geos/files/fix-gcc6-isnan.patch b/meta-oe/recipes-navigation/geos/files/fix-gcc6-isnan.patch deleted file mode 100644 index 5c5fbd1d9a..0000000000 --- a/meta-oe/recipes-navigation/geos/files/fix-gcc6-isnan.patch +++ /dev/null | |||
@@ -1,22 +0,0 @@ | |||
1 | --- geos-3.4.2/configure.in.orig 2016-06-08 17:46:43.002250304 +0000 | ||
2 | +++ geos-3.4.2/configure.in 2016-06-08 17:57:36.342241606 +0000 | ||
3 | @@ -197,7 +197,7 @@ | ||
4 | AC_LANG_PUSH([C++]) | ||
5 | AC_CACHE_CHECK([for isnan], ac_cv_isnan, | ||
6 | [AC_TRY_LINK([#include <cmath>], | ||
7 | - [double x; int y; y = isnan(x);], | ||
8 | + [double x; int y; y = std::isnan(x);], | ||
9 | ac_cv_isnan=yes, | ||
10 | ac_cv_isnan=no | ||
11 | )]) | ||
12 | --- geos-3.4.2/include/geos/platform.h.in.orig 2016-06-08 14:06:53.910234182 -0400 | ||
13 | +++ geos-3.4.2/include/geos/platform.h.in 2016-06-08 14:07:19.298233844 -0400 | ||
14 | @@ -84,7 +84,7 @@ | ||
15 | #endif | ||
16 | |||
17 | #if defined(HAVE_ISNAN) | ||
18 | -# define ISNAN(x) (isnan(x)) | ||
19 | +# define ISNAN(x) (std::isnan(x)) | ||
20 | #else | ||
21 | # if defined(_MSC_VER) | ||
22 | # define ISNAN(x) _isnan(x) | ||
diff --git a/meta-oe/recipes-navigation/geos/geos.inc b/meta-oe/recipes-navigation/geos/geos.inc index 2e308b4882..48721058da 100644 --- a/meta-oe/recipes-navigation/geos/geos.inc +++ b/meta-oe/recipes-navigation/geos/geos.inc | |||
@@ -3,7 +3,7 @@ HOMEPAGE = "http://trac.osgeo.org/geos/" | |||
3 | SECTION = "libs" | 3 | SECTION = "libs" |
4 | 4 | ||
5 | LICENSE = "LGPLv2.1+" | 5 | LICENSE = "LGPLv2.1+" |
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=7fbc338309ac38fefcd64b04bb903e34" | 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" |
7 | 7 | ||
8 | SRC_URI = "http://download.osgeo.org/geos/geos-${PV}.tar.bz2" | 8 | SRC_URI = "http://download.osgeo.org/geos/geos-${PV}.tar.bz2" |
9 | 9 | ||
diff --git a/meta-oe/recipes-navigation/geos/geos_3.4.2.bb b/meta-oe/recipes-navigation/geos/geos_3.4.2.bb deleted file mode 100644 index 7193f8fb56..0000000000 --- a/meta-oe/recipes-navigation/geos/geos_3.4.2.bb +++ /dev/null | |||
@@ -1,7 +0,0 @@ | |||
1 | require geos.inc | ||
2 | |||
3 | SRC_URI += "file://geos-config-Add-includedir-variable.patch \ | ||
4 | file://fix-gcc6-isnan.patch" | ||
5 | |||
6 | SRC_URI[md5sum] = "fc5df2d926eb7e67f988a43a92683bae" | ||
7 | SRC_URI[sha256sum] = "15e8bfdf7e29087a957b56ac543ea9a80321481cef4d4f63a7b268953ad26c53" | ||
diff --git a/meta-oe/recipes-navigation/geos/geos_3.4.3.bb b/meta-oe/recipes-navigation/geos/geos_3.4.3.bb new file mode 100644 index 0000000000..538456cc27 --- /dev/null +++ b/meta-oe/recipes-navigation/geos/geos_3.4.3.bb | |||
@@ -0,0 +1,7 @@ | |||
1 | require geos.inc | ||
2 | |||
3 | SRC_URI += "file://geos-config-Add-includedir-variable.patch \ | ||
4 | " | ||
5 | |||
6 | SRC_URI[md5sum] = "77f2c2cca1e9f49bc1bece9037ac7a7a" | ||
7 | SRC_URI[sha256sum] = "cfbf68079117c1c2b76411636444ff41d73c31093c4cab9dcc9a8c1bbe7e3897" | ||