pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/geography/gdal-lib Fix build on SunOS.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c5c2e2c2c3a0
branches:  trunk
changeset: 360188:c5c2e2c2c3a0
user:      fhajny <fhajny%pkgsrc.org@localhost>
date:      Mon Mar 27 13:52:27 2017 +0000

description:
Fix build on SunOS.

diffstat:

 geography/gdal-lib/distinfo                                                   |   3 +-
 geography/gdal-lib/patches/patch-ogr_ogrsf__frmts_geojson_libjson_GNUmakefile |  15 ++++++++++
 2 files changed, 17 insertions(+), 1 deletions(-)

diffs (33 lines):

diff -r de66e75769d9 -r c5c2e2c2c3a0 geography/gdal-lib/distinfo
--- a/geography/gdal-lib/distinfo       Mon Mar 27 13:47:50 2017 +0000
+++ b/geography/gdal-lib/distinfo       Mon Mar 27 13:52:27 2017 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.31 2017/01/13 14:48:26 gdt Exp $
+$NetBSD: distinfo,v 1.32 2017/03/27 13:52:27 fhajny Exp $
 
 SHA1 (gdal-2.0.3.tar.gz) = e2d8612c341d5be1229dd966d5c43d4bb1afe834
 RMD160 (gdal-2.0.3.tar.gz) = 7795300853c7f0880c6418f5b067e3ab3b06c28a
@@ -8,3 +8,4 @@
 SHA1 (patch-dist__docs_install__unx.sh) = 359b90c592e002b4b9a8dc0fe6b07300c39c9bf6
 SHA1 (patch-frmts_grib_degrib18_degrib_myutil.c) = 6179ba75d77607cefa6f2413c50443054308cdd3
 SHA1 (patch-frmts_jpeg2000_jpeg2000__vsil__io.cpp) = 89d5d3d8e1604c76cc22ed931a170dfe61ad6880
+SHA1 (patch-ogr_ogrsf__frmts_geojson_libjson_GNUmakefile) = c6e03fd56d2f47c56de8929186c41839b7cfa416
diff -r de66e75769d9 -r c5c2e2c2c3a0 geography/gdal-lib/patches/patch-ogr_ogrsf__frmts_geojson_libjson_GNUmakefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/geography/gdal-lib/patches/patch-ogr_ogrsf__frmts_geojson_libjson_GNUmakefile     Mon Mar 27 13:52:27 2017 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-ogr_ogrsf__frmts_geojson_libjson_GNUmakefile,v 1.1 2017/03/27 13:52:27 fhajny Exp $
+
+Raise _XOPEN_SOURCE to 600 (for SunOS).
+
+--- ogr/ogrsf_frmts/geojson/libjson/GNUmakefile.orig   2016-07-01 10:22:06.000000000 +0000
++++ ogr/ogrsf_frmts/geojson/libjson/GNUmakefile
+@@ -23,7 +23,7 @@ default:     $(O_OBJ:.o=.$(OBJ_EXT))
+ 
+ # -D_XOPEN_SOURCE=500 to enable strdup() definition in C11 mode
+ ../../o/%.$(OBJ_EXT): %.c
+-      $(CC) $(CFLAGS) $(CPPFLAGS) -D_XOPEN_SOURCE=500 -c -o $@ $<
++      $(CC) $(CFLAGS) $(CPPFLAGS) -D_XOPEN_SOURCE=600 -c -o $@ $<
+ 
+ clean:
+       rm -f *.o $(O_OBJ)



Home | Main Index | Thread Index | Old Index