Dear maintainer, I've prepared an NMU for librecad (versioned as 2.1.3-1.3) and uploaded it to DELAYED/14. Please feel free to tell me if I should cancel it.
cu Adrian
diff -Nru librecad-2.1.3/debian/changelog librecad-2.1.3/debian/changelog --- librecad-2.1.3/debian/changelog 2019-05-16 14:11:05.000000000 +0300 +++ librecad-2.1.3/debian/changelog 2021-01-29 01:22:36.000000000 +0200 @@ -1,3 +1,10 @@ +librecad (2.1.3-1.3) unstable; urgency=medium + + * Non-maintainer upload. + * Backport upstream fix for FTBFS with Qt 5.15. (Closes: #975160) + + -- Adrian Bunk <b...@debian.org> Fri, 29 Jan 2021 01:22:36 +0200 + librecad (2.1.3-1.2) unstable; urgency=medium * Non-maintainer upload. diff -Nru librecad-2.1.3/debian/patches/0001-Fix-build-with-Qt-5.15-missing-QPainterPath-include.patch librecad-2.1.3/debian/patches/0001-Fix-build-with-Qt-5.15-missing-QPainterPath-include.patch --- librecad-2.1.3/debian/patches/0001-Fix-build-with-Qt-5.15-missing-QPainterPath-include.patch 1970-01-01 02:00:00.000000000 +0200 +++ librecad-2.1.3/debian/patches/0001-Fix-build-with-Qt-5.15-missing-QPainterPath-include.patch 2021-01-29 01:22:36.000000000 +0200 @@ -0,0 +1,37 @@ +From 81741a875847c806c05f0f3a4610e69b3c3002aa Mon Sep 17 00:00:00 2001 +From: Andreas Sturmlechner <ast...@gentoo.org> +Date: Wed, 20 May 2020 14:12:15 +0200 +Subject: Fix build with Qt 5.15 (missing QPainterPath include) + +--- + librecad/src/lib/engine/lc_splinepoints.cpp | 1 + + librecad/src/lib/gui/rs_painterqt.h | 1 + + 2 files changed, 2 insertions(+) + +diff --git a/librecad/src/lib/engine/lc_splinepoints.cpp b/librecad/src/lib/engine/lc_splinepoints.cpp +index 5eaed81b..e6324ec1 100644 +--- a/librecad/src/lib/engine/lc_splinepoints.cpp ++++ b/librecad/src/lib/engine/lc_splinepoints.cpp +@@ -21,6 +21,7 @@ along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + **********************************************************************/ + ++#include <QPainterPath> + #include <QPolygonF> + #include "lc_splinepoints.h" + +diff --git a/librecad/src/lib/gui/rs_painterqt.h b/librecad/src/lib/gui/rs_painterqt.h +index 878753cb..a0b432e0 100644 +--- a/librecad/src/lib/gui/rs_painterqt.h ++++ b/librecad/src/lib/gui/rs_painterqt.h +@@ -29,6 +29,7 @@ + #define RS_PAINTERQT_H + + #include <QPainter> ++#include <QPainterPath> + + #include "rs_painter.h" + #include "rs_pen.h" +-- +2.20.1 + diff -Nru librecad-2.1.3/debian/patches/series librecad-2.1.3/debian/patches/series --- librecad-2.1.3/debian/patches/series 2019-05-16 14:11:05.000000000 +0300 +++ librecad-2.1.3/debian/patches/series 2021-01-29 01:22:36.000000000 +0200 @@ -2,3 +2,4 @@ librecad-desktop.pach 0001-fix-build-with-Qt-5.11.patch CVE-2018-19105.patch +0001-Fix-build-with-Qt-5.15-missing-QPainterPath-include.patch