diff --git a/0001-Fix-build-with-Qt-5.15.patch b/0001-Fix-build-with-Qt-5.15.patch new file mode 100644 index 0000000..c46cde3 --- /dev/null +++ b/0001-Fix-build-with-Qt-5.15.patch @@ -0,0 +1,26 @@ +From 78ee1626f3af37bf067b0c9d06156851bba31ee9 Mon Sep 17 00:00:00 2001 +From: Heiko Becker +Date: Sun, 29 Mar 2020 11:16:13 +0200 +Subject: [PATCH] Fix build with Qt 5.15 + +QPainterPath is no longer included via qtransform.h (since +5.15.0-beta2, 50d2acdc93b4de2ba56eb67787e2bdcb21dd4bea in qtbase.git). +--- + scribus/ui/scresizecursor.cpp | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/scribus/ui/scresizecursor.cpp b/scribus/ui/scresizecursor.cpp +index f2c78e5ae..85271ed86 100644 +--- a/scribus/ui/scresizecursor.cpp ++++ b/scribus/ui/scresizecursor.cpp +@@ -12,6 +12,7 @@ + + #include + #include ++#include + #include + #include + #include +-- +2.26.0 + diff --git a/scribus.changes b/scribus.changes index db45fc8..d3a93de 100644 --- a/scribus.changes +++ b/scribus.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sat May 9 17:36:50 UTC 2020 - Wolfgang Bauer + +- Add 0001-Fix-build-with-Qt-5.15.patch to fix build with the + upcoming Qt 5.15 + ------------------------------------------------------------------- Wed Apr 8 10:51:25 UTC 2020 - Christophe Giboudeaux diff --git a/scribus.spec b/scribus.spec index 6aee65e..ba8bbe6 100644 --- a/scribus.spec +++ b/scribus.spec @@ -42,6 +42,8 @@ Patch5: Fix-failure-to-build-with-poppler-0.84.0.patch Patch6: Fails-to-build-with-python-3.8.patch # PATCH-FIX-UPSTREAM Patch7: 0001-PDF-import-plugin-support-poppler-0.86.x.patch +# PATCH-FIX-UPSTREAM +Patch8: 0001-Fix-build-with-Qt-5.15.patch BuildRequires: breeze5-icons BuildRequires: cmake BuildRequires: cups-devel