[Git][debian-gis-team/libgeotiff-dfsg][master] 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 20:15:33 GMT 2019


Bas Couwenberg pushed to branch master at Debian GIS Project / libgeotiff-dfsg


Commits:
3743953a by Bas Couwenberg at 2019-03-12T19:57:29Z
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
=====================================
@@ -2,6 +2,7 @@ libgeotiff-dfsg (1.4.3-2) UNRELEASED; urgency=medium
 
   * Update upstream metadata for move to GitHub.
   * Bump Standards-Version to 4.3.0, no changes.
+  * Add -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H=1 to CFLAGS for PROJ 6.0.0.
 
  -- Bas Couwenberg <sebastic at debian.org>  Thu, 20 Dec 2018 16:31:38 +0100
 


=====================================
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/libgeotiff-dfsg/commit/3743953a46f37797faaaf683da4f91374e429b44

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/libgeotiff-dfsg/commit/3743953a46f37797faaaf683da4f91374e429b44
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/2592c4a4/attachment.html>


More information about the Pkg-grass-devel mailing list