Source: openorienteering-mapper Version: 0.8.4-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/OpenOrienteering/mapper/issues/1214 Kind Regards, Bas
diff -Nru openorienteering-mapper-0.8.4/debian/changelog openorienteering-mapper-0.8.4/debian/changelog --- openorienteering-mapper-0.8.4/debian/changelog 2018-12-25 12:21:02.000000000 +0100 +++ openorienteering-mapper-0.8.4/debian/changelog 2019-04-13 18:22:32.000000000 +0200 @@ -1,3 +1,10 @@ +openorienteering-mapper (0.8.4-1.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> Sat, 13 Apr 2019 18:22:32 +0200 + openorienteering-mapper (0.8.4-1) unstable; urgency=medium * New upstream release diff -Nru openorienteering-mapper-0.8.4/debian/rules openorienteering-mapper-0.8.4/debian/rules --- openorienteering-mapper-0.8.4/debian/rules 2018-12-25 10:59:12.000000000 +0100 +++ openorienteering-mapper-0.8.4/debian/rules 2019-04-13 18:22:30.000000000 +0200 @@ -3,6 +3,10 @@ # output every command that modifies files on the build system. #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 + # see EXAMPLES in dpkg-buildflags(1) and read /usr/share/dpkg/* DPKG_EXPORT_BUILDFLAGS = 1 include /usr/share/dpkg/default.mk