pkgsrc-Changes archive

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

CVS commit: pkgsrc/geography/libspatialite



Module Name:    pkgsrc
Committed By:   gdt
Date:           Wed Mar 11 23:47:06 UTC 2020

Modified Files:
        pkgsrc/geography/libspatialite: Makefile

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 pkgsrc/geography/libspatialite/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/geography/libspatialite/Makefile
diff -u pkgsrc/geography/libspatialite/Makefile:1.15 pkgsrc/geography/libspatialite/Makefile:1.16
--- pkgsrc/geography/libspatialite/Makefile:1.15        Sun Nov  3 19:30:33 2019
+++ pkgsrc/geography/libspatialite/Makefile     Wed Mar 11 23:47:06 2020
@@ -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 @@ GNU_CONFIGURE=                yes
 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