[Git][debian-gis-team/spatialite][experimental] Add -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H=1 to CFLAGS for PROJ 6.0.0.

Bas Couwenberg gitlab at salsa.debian.org
Tue Mar 12 19:54:27 GMT 2019


Bas Couwenberg pushed to branch experimental at Debian GIS Project / spatialite


Commits:
95469cb3 by Bas Couwenberg at 2019-03-12T19:26:32Z
Add -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H=1 to CFLAGS for PROJ 6.0.0.

- - - - -


2 changed files:

- debian/changelog
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,9 @@
+spatialite (5.0.0~beta0-1~exp3) UNRELEASED; urgency=medium
+
+  * Add -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H=1 to CFLAGS for PROJ 6.0.0.
+
+ -- Bas Couwenberg <sebastic at debian.org>  Fri, 08 Mar 2019 17:38:04 +0100
+
 spatialite (5.0.0~beta0-1~exp2) experimental; urgency=medium
 
   * Bump Standards-Version to 4.3.0, no changes.


=====================================
debian/rules
=====================================
@@ -10,6 +10,9 @@ export DH_OPTIONS
 # Enable hardening build flags
 export DEB_BUILD_MAINT_OPTIONS=hardening=+all
 
+# Workaround for proj_api.h deprecation in PROJ 6.0.0
+export DEB_CFLAGS_MAINT_APPEND=-DACCEPT_USE_OF_DEPRECATED_PROJ_API_H=1
+
 include /usr/share/dpkg/pkg-info.mk
 
 UPSTREAM_VERSION = $(shell echo $(DEB_VERSION_UPSTREAM) | sed -e 's/\+.*//')



View it on GitLab: https://salsa.debian.org/debian-gis-team/spatialite/commit/95469cb36143c83e2bda062b017b6daffa049e7f

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/spatialite/commit/95469cb36143c83e2bda062b017b6daffa049e7f
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20190312/a65d1607/attachment-0001.html>


More information about the Pkg-grass-devel mailing list