Source: metview Version: 5.3.0-2 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://jira.ecmwf.int/browse/SUP-2809 Kind Regards, Bas
diff -Nru metview-5.3.0/debian/changelog metview-5.3.0/debian/changelog --- metview-5.3.0/debian/changelog 2019-02-28 16:32:29.000000000 +0100 +++ metview-5.3.0/debian/changelog 2019-04-14 08:14:49.000000000 +0200 @@ -1,3 +1,10 @@ +metview (5.3.0-2.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Define ACCEPT_USE_OF_DEPRECATED_PROJ_API_H for PROJ 6.0.0 compatibility. + + -- Bas Couwenberg <sebas...@debian.org> Sun, 14 Apr 2019 08:14:49 +0200 + metview (5.3.0-2) unstable; urgency=medium * Check correct $(MMODDIR) for grib_api.mod. Closes: #923453 diff -Nru metview-5.3.0/debian/rules metview-5.3.0/debian/rules --- metview-5.3.0/debian/rules 2019-02-28 16:32:29.000000000 +0100 +++ metview-5.3.0/debian/rules 2019-04-14 08:14:47.000000000 +0200 @@ -3,6 +3,10 @@ # Uncomment this to turn on verbose mode. # export DH_VERBOSE=1 +# 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 + # DEB_LDFLAGS_MAINT_PREPEND:= -Wl,-z,defs -Wl,--as-needed DEB_BUILD_MAINT_OPTIONS:= hardening=+all,-format DEB_CFLAGS_MAINT_APPEND:= -Wall -pedantic -fPIC