Source: xastir
Version: 2.1.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/Xastir/Xastir/issues/47

Kind Regards,

Bas
diff -Nru xastir-2.1.2/debian/changelog xastir-2.1.2/debian/changelog
--- xastir-2.1.2/debian/changelog       2019-06-28 15:12:43.000000000 +0200
+++ xastir-2.1.2/debian/changelog       2019-07-12 15:36:00.000000000 +0200
@@ -1,3 +1,9 @@
+xastir (2.1.2-2) UNRELEASED; urgency=medium
+
+  * Rebuild with PROJ 6.
+
+ -- Christoph Berg <m...@debian.org>  Fri, 12 Jul 2019 15:36:00 +0200
+
 xastir (2.1.2-1) unstable; urgency=medium
 
   * Team upload.
diff -Nru xastir-2.1.2/debian/rules xastir-2.1.2/debian/rules
--- xastir-2.1.2/debian/rules   2019-06-28 15:08:11.000000000 +0200
+++ xastir-2.1.2/debian/rules   2019-07-12 15:35:50.000000000 +0200
@@ -2,6 +2,9 @@
 
 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
+
 %:
        dh $@ --with autoreconf
 

Reply via email to