[neon/extras/qtcurve/Neon/release] debian: Backport upstream patch to fix build with Qt 5.15.

Dmitry Shachnev null at kde.org
Mon Sep 19 12:15:45 BST 2022


Git commit a0cb88b26ce943e2386fc4c447f601c4d31b1c1c by Dmitry Shachnev.
Committed on 17/10/2020 at 16:54.
Pushed by jriddell into branch 'Neon/release'.

Backport upstream patch to fix build with Qt 5.15.

Closes: #972154.

M  +2    -0    debian/changelog
A  +15   -0    debian/patches/qt-5.15.patch
M  +1    -0    debian/patches/series

https://invent.kde.org/neon/extras/qtcurve/commit/a0cb88b26ce943e2386fc4c447f601c4d31b1c1c

diff --git a/debian/changelog b/debian/changelog
index 220eda0..c372148 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,7 @@
 qtcurve (1.9-7) UNRELEASED; urgency=medium
 
+  [ Dmitry Shachnev ]
+  * Backport upstream patch to fix build with Qt 5.15 (closes: #972154).
 
  -- Debian Qt/KDE Maintainers <debian-qt-kde at lists.debian.org>  Sat, 17 Oct 2020 19:52:50 +0300
 
diff --git a/debian/patches/qt-5.15.patch b/debian/patches/qt-5.15.patch
new file mode 100644
index 0000000..f334ce5
--- /dev/null
+++ b/debian/patches/qt-5.15.patch
@@ -0,0 +1,15 @@
+Description: fix build with Qt 5.15 (missing QPainterPath include)
+Origin: upstream, https://invent.kde.org/system/qtcurve/-/commit/44e2a35ebb164dca
+Last-Update: 2020-10-17
+
+--- a/qt5/style/qtcurve.h
++++ b/qt5/style/qtcurve.h
+@@ -31,6 +31,8 @@
+ #include <QCache>
+ #include <QColor>
+ #include <QFont>
++#include <QPainter>
++#include <QPainterPath>
+ #include <QStyleOption>
+ #include <QtGlobal>
+ #include <QCommonStyle>
diff --git a/debian/patches/series b/debian/patches/series
index 5ed2165..92550b5 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 fix-build-with-gcc-9.patch
+qt-5.15.patch



More information about the Neon-commits mailing list