[Git][debian-gis-team/mapnik][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 16:47:40 BST 2019



Bas Couwenberg pushed to branch master at Debian GIS Project / mapnik


Commits:
3b714678 by Bas Couwenberg at 2019-04-13T15:30:12Z
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,6 +1,7 @@
 mapnik (3.0.22+ds-2) UNRELEASED; urgency=medium
 
   * Remove package name from lintian overrides.
+  * Define ACCEPT_USE_OF_DEPRECATED_PROJ_API_H for PROJ 6.0.0 compatibility.
 
  -- Bas Couwenberg <sebastic at debian.org>  Fri, 15 Mar 2019 15:56:38 +0100
 


=====================================
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
+
 NJOBS := -j1
 ifneq (,$(filter parallel=%,$(subst $(COMMA), ,$(DEB_BUILD_OPTIONS))))
 NJOBS := -j$(subst parallel=,,$(filter parallel=%,$(subst $(COMMA), ,$(DEB_BUILD_OPTIONS))))



View it on GitLab: https://salsa.debian.org/debian-gis-team/mapnik/commit/3b714678ce89572fb33c53533fc3934ffb6dbac0

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/mapnik/commit/3b714678ce89572fb33c53533fc3934ffb6dbac0
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/13e1b0a0/attachment.html>


More information about the Pkg-grass-devel mailing list