[Git][debian-gis-team/spatialite-gui][master] Define ACCEPT_USE_OF_DEPRECATED_PROJ_API_H for PROJ 6.0.0 compatibility.

Bas Couwenberg gitlab at salsa.debian.org
Sat Apr 13 19:40:41 BST 2019



Bas Couwenberg pushed to branch master at Debian GIS Project / spatialite-gui


Commits:
4237e825 by Bas Couwenberg at 2019-04-13T18:32:55Z
Define ACCEPT_USE_OF_DEPRECATED_PROJ_API_H for PROJ 6.0.0 compatibility.

- - - - -


2 changed files:

- debian/changelog
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,9 @@
+spatialite-gui (2.1.0~beta0+really2.0.0~devel2-4) UNRELEASED; urgency=medium
+
+  * Define ACCEPT_USE_OF_DEPRECATED_PROJ_API_H for PROJ 6.0.0 compatibility.
+
+ -- Bas Couwenberg <sebastic at debian.org>  Sat, 13 Apr 2019 20:32:18 +0200
+
 spatialite-gui (2.1.0~beta0+really2.0.0~devel2-3) unstable; urgency=medium
 
   * Disable CharLS support, version 2.0.0 is not supported yet.


=====================================
debian/rules
=====================================
@@ -7,6 +7,10 @@
 # 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
+export DEB_CXXFLAGS_MAINT_APPEND=-DACCEPT_USE_OF_DEPRECATED_PROJ_API_H
+
 %:
 	dh $@ \
 		--with autoreconf \



View it on GitLab: https://salsa.debian.org/debian-gis-team/spatialite-gui/commit/4237e825556e18f762df80be9a92efbe7db1fbbb

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/spatialite-gui/commit/4237e825556e18f762df80be9a92efbe7db1fbbb
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/20190413/9b84d072/attachment.html>


More information about the Pkg-grass-devel mailing list