[Git][debian-gis-team/gdal][master] Add -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H=1 to CFLAGS for PROJ 6.0.0.
Bas Couwenberg
gitlab at salsa.debian.org
Fri Mar 15 15:14:50 GMT 2019
Bas Couwenberg pushed to branch master at Debian GIS Project / gdal
Commits:
284f83df by Bas Couwenberg at 2019-03-12T20:18:41Z
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 @@
+gdal (2.4.0+dfsg-2) 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> Tue, 12 Mar 2019 21:18:31 +0100
+
gdal (2.4.0+dfsg-1) unstable; urgency=medium
* Update symbols for kfreebsd-i386.
=====================================
debian/rules
=====================================
@@ -11,6 +11,9 @@
# 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
+
# Disable PIE on Ubuntu where it's still problematic
VENDOR_DERIVES_FROM_UBUNTU ?= $(shell dpkg-vendor --derives-from Ubuntu && echo yes)
DISTRIBUTION_RELEASE := $(shell lsb_release -cs)
View it on GitLab: https://salsa.debian.org/debian-gis-team/gdal/commit/284f83df228d88596d7d419c5a7dff1644013203
--
View it on GitLab: https://salsa.debian.org/debian-gis-team/gdal/commit/284f83df228d88596d7d419c5a7dff1644013203
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/20190315/e5ed316f/attachment-0001.html>
More information about the Pkg-grass-devel
mailing list