Index: databases/postgis21/Makefile =================================================================== --- databases/postgis21/Makefile +++ databases/postgis21/Makefile @@ -1,8 +1,7 @@ # $FreeBSD$ PORTNAME= postgis -PORTVERSION= 2.1.3 -PORTREVISION= 2 +PORTVERSION= 2.1.5 CATEGORIES= databases geography MASTER_SITES= http://download.osgeo.org/postgis/source/ @@ -69,7 +68,7 @@ (cd ${WRKSRC}/utils/ && ${COPYTREE_SHARE} \* ${STAGEDIR}/${DATADIR}/utils/ "! ( -name *\.orig -o -name *\.bak )" ) ${STRIP_CMD} ${STAGEDIR}/${PREFIX}/bin/shp2pgsql ${STRIP_CMD} ${STAGEDIR}/${PREFIX}/bin/pgsql2shp - ${STRIP_CMD} ${STAGEDIR}/${PREFIX}/lib/liblwgeom-2.1.3.so + ${STRIP_CMD} ${STAGEDIR}/${PREFIX}/lib/liblwgeom-${PORTVERSION}.so ${STRIP_CMD} ${STAGEDIR}/${PREFIX}/lib/postgresql/postgis-2.1.so .include Index: databases/postgis21/distinfo =================================================================== --- databases/postgis21/distinfo +++ databases/postgis21/distinfo @@ -1,2 +1,2 @@ -SHA256 (postgis-2.1.3.tar.gz) = c17812aa4bb86ed561dfc65cb42ab45176b94e0620de183a4bbd773d6d876ec1 -SIZE (postgis-2.1.3.tar.gz) = 6881881 +SHA256 (postgis-2.1.5.tar.gz) = 0d0e27f72f12b8dba456fbde25ed0f6913f42baf57332a7f1b9bbc6f29fddbf4 +SIZE (postgis-2.1.5.tar.gz) = 6827999 Index: databases/postgis21/files/patch-liblwgeom_lwin__geojson.c =================================================================== --- databases/postgis21/files/patch-liblwgeom_lwin__geojson.c +++ /dev/null @@ -1,22 +0,0 @@ ---- liblwgeom/lwin_geojson.c.orig 2014-08-20 10:32:15.721407424 +0600 -+++ liblwgeom/lwin_geojson.c 2014-08-20 10:32:44.823412267 +0600 -@@ -17,8 +17,8 @@ - - #ifdef HAVE_LIBJSON - --#include --#include -+#include -+#include - #include - - static void geojson_lwerror(char *msg, int error_code) -@@ -510,7 +510,7 @@ - if( jstok->err != json_tokener_success) - { - char err[256]; -- snprintf(err, 256, "%s (at offset %d)", json_tokener_errors[jstok->err], jstok->char_offset); -+ snprintf(err, 256, "%s (at offset %d)", json_tokener_error_desc(jstok->err), jstok->char_offset); - json_tokener_free(jstok); - json_object_put(poObj); - geojson_lwerror(err, 1); Index: databases/postgis21/files/patch-raster_rt__core_rt__api.h =================================================================== --- databases/postgis21/files/patch-raster_rt__core_rt__api.h +++ /dev/null @@ -1,11 +0,0 @@ ---- raster/rt_core/rt_api.h.orig 2014-05-04 17:15:13 UTC -+++ raster/rt_core/rt_api.h -@@ -42,7 +42,7 @@ - #endif - - --#if defined(__FreeBSD_kernel__) || defined(__OpenBSD__) /* seems to work like Linux... */ -+#if defined(__FreeBSD__) || defined(__DragonFly__) /* seems to work like Linux... */ - #if !defined(LINUX) - #define LINUX - #endif