summaryrefslogtreecommitdiff
path: root/geography/gdal-lib
diff options
context:
space:
mode:
authorjoerg <joerg>2014-10-13 20:52:44 +0000
committerjoerg <joerg>2014-10-13 20:52:44 +0000
commite4514574ee5f53618b936713cc686d79a44adbe7 (patch)
tree4df3db1dd3f04042422a196f792bdc7b35ca686c /geography/gdal-lib
parent6c5e84c16c13afda6f36495583650384a8131dab (diff)
downloadpkgsrc-e4514574ee5f53618b936713cc686d79a44adbe7.tar.gz
Don't force _XOPEN_SOURCE unconditionally, it breaks at least NetBSD.
Diffstat (limited to 'geography/gdal-lib')
-rw-r--r--geography/gdal-lib/distinfo3
-rw-r--r--geography/gdal-lib/patches/patch-apps_gdalserver.c15
2 files changed, 17 insertions, 1 deletions
diff --git a/geography/gdal-lib/distinfo b/geography/gdal-lib/distinfo
index 1742756950a..50fe48dd7d1 100644
--- a/geography/gdal-lib/distinfo
+++ b/geography/gdal-lib/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.24 2014/10/10 01:13:57 wen Exp $
+$NetBSD: distinfo,v 1.25 2014/10/13 20:52:44 joerg Exp $
SHA1 (gdal-1.11.1.tar.gz) = e2c67481932ec9fb6ec3c0faadc004f715c4eef4
RMD160 (gdal-1.11.1.tar.gz) = 9ebfbebeaff99a533bb4f4cf33b3f747e1ced9b4
Size (gdal-1.11.1.tar.gz) = 10731242 bytes
SHA1 (patch-GDALmake.opt.in) = 6bae7f2bfea619d6b96bb0709f31e84a2eb764a5
+SHA1 (patch-apps_gdalserver.c) = 95d9902c1c5cb08400c45742808b18241b794060
SHA1 (patch-configure) = 8cb8b26365933780cded7069722fa3e35d0c4b33
diff --git a/geography/gdal-lib/patches/patch-apps_gdalserver.c b/geography/gdal-lib/patches/patch-apps_gdalserver.c
new file mode 100644
index 00000000000..700a5d0a19a
--- /dev/null
+++ b/geography/gdal-lib/patches/patch-apps_gdalserver.c
@@ -0,0 +1,15 @@
+$NetBSD: patch-apps_gdalserver.c,v 1.1 2014/10/13 20:52:44 joerg Exp $
+
+--- apps/gdalserver.c.orig 2014-10-13 10:16:23.000000000 +0000
++++ apps/gdalserver.c
+@@ -27,10 +27,6 @@
+ * DEALINGS IN THE SOFTWARE.
+ ****************************************************************************/
+
+-#if defined(__STDC_VERSION__)
+-#define _XOPEN_SOURCE
+-#endif
+-
+ #include "cpl_port.h"
+
+ #ifdef WIN32