Source: xygrib Version: 1.2.2-1 Severity: important Tags: upstream patch User: debian-...@lists.debian.org Usertags: proj-6
Dear Maintainer, Your package FTBFS with PROJ 6 from experimental. The attached patch fixes the issue by defining ACCEPT_USE_OF_DEPRECATED_PROJ_API_H. Note that this is only a temporary workaround, proj_api.h will be removed in PROJ 7 scheduled for March 2020. Upstream is aware of the issue, see: https://github.com/opengribs/XyGrib/issues/200 Kind Regards, Bas
diff -Nru xygrib-1.2.2/debian/rules xygrib-1.2.2/debian/rules --- xygrib-1.2.2/debian/rules 2019-01-21 11:25:25.000000000 +0100 +++ xygrib-1.2.2/debian/rules 2019-04-13 12:08:31.000000000 +0200 @@ -2,6 +2,9 @@ export DH_VERBOSE=1 +# Workaround for proj_api.h deprecation in PROJ 6.0.0 +export DEB_CXXFLAGS_MAINT_APPEND=-DACCEPT_USE_OF_DEPRECATED_PROJ_API_H + # The magic debhelper rule %: dh $@ --buildsystem=cmake