aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2014-08-22 07:37:08 +0800
committermarino <marino@FreeBSD.org>2014-08-22 07:37:08 +0800
commit6a523d3b055926b979abeabeb7c3ebfc6b0cf62e (patch)
tree78ef88642940eb6ed50c3b92dc63543ddde12c12 /databases
parente2f647c317666e9da5ab05a7dcf74c479421cee5 (diff)
downloadfreebsd-ports-gnome-6a523d3b055926b979abeabeb7c3ebfc6b0cf62e.tar.gz
freebsd-ports-gnome-6a523d3b055926b979abeabeb7c3ebfc6b0cf62e.tar.zst
freebsd-ports-gnome-6a523d3b055926b979abeabeb7c3ebfc6b0cf62e.zip
databases/postgis21: Restore build of non-default raster option
Upstream made a change to support Debian's kFreeBSD and broke FreeBSD in the process. PR: 192840 patch by: Robert Kruus staging: marino
Diffstat (limited to 'databases')
-rw-r--r--databases/postgis21/Makefile1
-rw-r--r--databases/postgis21/files/patch-raster_rt__core_rt__api.h11
-rw-r--r--databases/postgis21/pkg-plist12
3 files changed, 24 insertions, 0 deletions
diff --git a/databases/postgis21/Makefile b/databases/postgis21/Makefile
index 5e1d02fd5c02..dcad266a55d2 100644
--- a/databases/postgis21/Makefile
+++ b/databases/postgis21/Makefile
@@ -2,6 +2,7 @@
PORTNAME= postgis
PORTVERSION= 2.1.3
+PORTREVISION= 1
CATEGORIES= databases geography
MASTER_SITES= http://download.osgeo.org/postgis/source/
diff --git a/databases/postgis21/files/patch-raster_rt__core_rt__api.h b/databases/postgis21/files/patch-raster_rt__core_rt__api.h
new file mode 100644
index 000000000000..c5d02361e475
--- /dev/null
+++ b/databases/postgis21/files/patch-raster_rt__core_rt__api.h
@@ -0,0 +1,11 @@
+--- 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
diff --git a/databases/postgis21/pkg-plist b/databases/postgis21/pkg-plist
index 5add088f7fc2..3cef363fee65 100644
--- a/databases/postgis21/pkg-plist
+++ b/databases/postgis21/pkg-plist
@@ -104,6 +104,10 @@ share/postgresql/contrib/postgis-2.1/uninstall_sfcgal.sql
%%RASTER%%share/postgresql/extension/postgis--2.0.2--%%PORTVERSION%%.sql
%%RASTER%%share/postgresql/extension/postgis--2.0.3--%%PORTVERSION%%.sql
%%RASTER%%share/postgresql/extension/postgis--2.0.4--%%PORTVERSION%%.sql
+%%RASTER%%share/postgresql/extension/postgis--2.0.5--%%PORTVERSION%%.sql
+%%RASTER%%share/postgresql/extension/postgis--2.1.0--%%PORTVERSION%%.sql
+%%RASTER%%share/postgresql/extension/postgis--2.1.1--%%PORTVERSION%%.sql
+%%RASTER%%share/postgresql/extension/postgis--2.1.2--%%PORTVERSION%%.sql
%%RASTER%%share/postgresql/extension/postgis--%%PORTVERSION%%--%%PORTVERSION%%next.sql
%%RASTER%%share/postgresql/extension/postgis--%%PORTVERSION%%.sql
%%RASTER%%share/postgresql/extension/postgis--%%PORTVERSION%%next--%%PORTVERSION%%.sql
@@ -117,6 +121,10 @@ share/postgresql/contrib/postgis-2.1/uninstall_sfcgal.sql
%%RASTER%%share/postgresql/extension/postgis_tiger_geocoder--2.0.2--%%PORTVERSION%%.sql
%%RASTER%%share/postgresql/extension/postgis_tiger_geocoder--2.0.3--%%PORTVERSION%%.sql
%%RASTER%%share/postgresql/extension/postgis_tiger_geocoder--2.0.4--%%PORTVERSION%%.sql
+%%RASTER%%share/postgresql/extension/postgis_tiger_geocoder--2.0.5--%%PORTVERSION%%.sql
+%%RASTER%%share/postgresql/extension/postgis_tiger_geocoder--2.1.0--%%PORTVERSION%%.sql
+%%RASTER%%share/postgresql/extension/postgis_tiger_geocoder--2.1.1--%%PORTVERSION%%.sql
+%%RASTER%%share/postgresql/extension/postgis_tiger_geocoder--2.1.2--%%PORTVERSION%%.sql
%%RASTER%%share/postgresql/extension/postgis_tiger_geocoder--%%PORTVERSION%%--%%PORTVERSION%%next.sql
%%RASTER%%share/postgresql/extension/postgis_tiger_geocoder--%%PORTVERSION%%.sql
%%RASTER%%share/postgresql/extension/postgis_tiger_geocoder--%%PORTVERSION%%next--%%PORTVERSION%%.sql
@@ -130,6 +138,10 @@ share/postgresql/contrib/postgis-2.1/uninstall_sfcgal.sql
%%RASTER%%share/postgresql/extension/postgis_topology--2.0.2--%%PORTVERSION%%.sql
%%RASTER%%share/postgresql/extension/postgis_topology--2.0.3--%%PORTVERSION%%.sql
%%RASTER%%share/postgresql/extension/postgis_topology--2.0.4--%%PORTVERSION%%.sql
+%%RASTER%%share/postgresql/extension/postgis_topology--2.0.5--%%PORTVERSION%%.sql
+%%RASTER%%share/postgresql/extension/postgis_topology--2.1.0--%%PORTVERSION%%.sql
+%%RASTER%%share/postgresql/extension/postgis_topology--2.1.1--%%PORTVERSION%%.sql
+%%RASTER%%share/postgresql/extension/postgis_topology--2.1.2--%%PORTVERSION%%.sql
%%RASTER%%share/postgresql/extension/postgis_topology--%%PORTVERSION%%--%%PORTVERSION%%next.sql
%%RASTER%%share/postgresql/extension/postgis_topology--%%PORTVERSION%%.sql
%%RASTER%%share/postgresql/extension/postgis_topology--%%PORTVERSION%%next--%%PORTVERSION%%.sql