pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/geography/libspatialite geography/libspatialite: Worka...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5b3987ac8199
branches:  trunk
changeset: 412759:5b3987ac8199
user:      gdt <gdt%pkgsrc.org@localhost>
date:      Wed Mar 11 23:47:06 2020 +0000

description:
geography/libspatialite: Workaround for proj 6

The last release of spatialite (2015) does not build with proj 6.
Force enable the deprecated API.  Include URL to upstream bug, which
is fixed in what might become the next release, should that occur.

diffstat:

 geography/libspatialite/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 6875dc59c7b3 -r 5b3987ac8199 geography/libspatialite/Makefile
--- a/geography/libspatialite/Makefile  Wed Mar 11 23:36:32 2020 +0000
+++ b/geography/libspatialite/Makefile  Wed Mar 11 23:47:06 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2019/11/03 19:30:33 rillig Exp $
+# $NetBSD: Makefile,v 1.16 2020/03/11 23:47:06 gdt Exp $
 
 DISTNAME=      libspatialite-4.3.0a
 PKGREVISION=   10
@@ -17,6 +17,9 @@
 CONFIGURE_ARGS+=       --disable-examples
 PKGCONFIG_OVERRIDE=    spatialite.pc.in
 
+# https://www.gaia-gis.it/fossil/libspatialite/tktview?name=6eabdf0e6d
+CPPFLAGS+=     -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H
+
 # src/shapefiles wants to create both a module and library
 # from the same sources. This confuses some temporary file handling
 # in libtool 2.4.2.



Home | Main Index | Thread Index | Old Index