From 1236c0002f78819024d26894a93c8d92b39ea2f1 Mon Sep 17 00:00:00 2001 From: yopito Date: Tue, 3 Sep 2019 05:29:29 +0200 Subject: [PATCH] postgis: update to 2.5.3, ignore alpha releases --- .../patches/postgis-2.5.3-PROTOCC_VERSION.patch | 13 +++++++++++++ srcpkgs/postgis/template | 6 +++--- srcpkgs/postgis/update | 1 + 3 files changed, 17 insertions(+), 3 deletions(-) create mode 100644 srcpkgs/postgis/patches/postgis-2.5.3-PROTOCC_VERSION.patch create mode 100644 srcpkgs/postgis/update diff --git a/srcpkgs/postgis/patches/postgis-2.5.3-PROTOCC_VERSION.patch b/srcpkgs/postgis/patches/postgis-2.5.3-PROTOCC_VERSION.patch new file mode 100644 index 00000000000..b1105fe58e2 --- /dev/null +++ b/srcpkgs/postgis/patches/postgis-2.5.3-PROTOCC_VERSION.patch @@ -0,0 +1,13 @@ +PROTOCC_VERSION is not defined as variable in this Makefile + +--- postgis/Makefile.in.ORIG 2019-08-11 07:59:31.000000000 +0200 ++++ postgis/Makefile.in 2019-09-03 06:11:57.430733390 +0200 +@@ -206,7 +206,7 @@ + ifeq (@HAVE_PROTOBUF@,yes) + lwgeom_out_mvt.o: vector_tile.pb-c.h + mvt.o: vector_tile.pb-c.h +-ifeq ($(shell expr $(PROTOCC_VERSION) ">=" 10100),1) ++ifeq ($(shell expr @PROTOCC_VERSION@ ">=" 10100),1) + lwgeom_out_geobuf.o: geobuf.pb-c.h + geobuf.o: geobuf.pb-c.h + endif diff --git a/srcpkgs/postgis/template b/srcpkgs/postgis/template index 2dd7858ffc7..741f34323c8 100644 --- a/srcpkgs/postgis/template +++ b/srcpkgs/postgis/template @@ -1,7 +1,7 @@ # Template file for 'postgis' pkgname=postgis -version=2.5.2 -revision=3 +version=2.5.3 +revision=1 build_style=gnu-configure configure_args="--with-projdir=${XBPS_CROSS_BASE}/usr --with-projdir=${XBPS_CROSS_BASE}/usr @@ -16,7 +16,7 @@ license="GPL-2.0-or-later" homepage="https://postgis.net/" changelog="https://git.osgeo.org/gitea/postgis/postgis/raw/tag/${version}/NEWS" distfiles="https://download.osgeo.org/postgis/source/postgis-${version}.tar.gz" -checksum=b6cb286c5016029d984f8c440947bf9178da72e1f6f840ed639270e1c451db5e +checksum=72e8269d40f981e22fb2b78d3ff292338e69a4f5166e481a77b015e1d34e559a nocross="FIXME: Cannot run test program to determine PROJ version" pre_configure() { diff --git a/srcpkgs/postgis/update b/srcpkgs/postgis/update new file mode 100644 index 00000000000..70f8b7290d7 --- /dev/null +++ b/srcpkgs/postgis/update @@ -0,0 +1 @@ +ignore="*alpha*"