failure to build against external json-c 0.12
|Reported by:||landry||Owned by:||pramsey|
Similar to http://trac.osgeo.org/gdal/ticket/5449, postgis as is fails to build against json-c 0.12 since they removed the extern json_tokener_errors array, deprecated in favor of json_tokener_error_desc() present since 0.10.
I've fixed it locally using http://www.openbsd.org/cgi-bin/cvsweb/ports/geo/postgis/patches/patch-liblwgeom_lwin_geojson_c?rev=1.1 but maybe a better fix could be commited upstream, depending if we want to require json 0.10 or still want to support older versions.
I can provide a patch if needed.