From ca5ed59ed2ae2b074f42b4f4c3fb0351e4200f94 Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Thu, 30 Jul 2020 19:38:01 +0200 Subject: Calligraplan: fix compilation against Qt 5.15 --- kde/patch/calligraplan.patch | 13 ++----------- kde/patch/calligraplan/calligraplan.qt-5.15.patch | 10 ++++++++++ 2 files changed, 12 insertions(+), 11 deletions(-) create mode 100644 kde/patch/calligraplan/calligraplan.qt-5.15.patch (limited to 'kde/patch') diff --git a/kde/patch/calligraplan.patch b/kde/patch/calligraplan.patch index 4cc1f85..5895d0c 100644 --- a/kde/patch/calligraplan.patch +++ b/kde/patch/calligraplan.patch @@ -1,11 +1,2 @@ -# Fix build against Qt 5.11 (fixed in 3.2.0): -#cat $CWD/patch/calligraplan/calligraplan.qt-511.patch | patch -p2 --verbose || { touch ${SLACK_KDE_BUILD_DIR}/${PKGNAME}.failed ; continue ; } - -# Fix build against kcalendarcore (fixed in 3.2.0): -#cat $CWD/patch/calligraplan/calligraplan.kcalcore.1.patch | patch -p1 --verbose || { touch ${SLACK_KDE_BUILD_DIR}/${PKGNAME}.failed ; continue ; } -#cat $CWD/patch/calligraplan/calligraplan.kcalcore.2.patch | patch -p1 --verbose || { touch ${SLACK_KDE_BUILD_DIR}/${PKGNAME}.failed ; continue ; } -#cat $CWD/patch/calligraplan/calligraplan.kcalendarcore.patch | patch -p1 --verbose || { touch ${SLACK_KDE_BUILD_DIR}/${PKGNAME}.failed ; continue ; } - -# Fix missing include (fixed in 3.2.0): -#cat $CWD/patch/calligraplan/calligraplan.missingheader.patch | patch -p1 --verbose || { touch ${SLACK_KDE_BUILD_DIR}/${PKGNAME}.failed ; continue ; } - +# Fix build against Qt 5.15: +cat $CWD/patch/calligraplan/calligraplan.qt-5.15.patch | patch -p1 --verbose || { touch ${SLACK_KDE_BUILD_DIR}/${PKGNAME}.failed ; continue ; } diff --git a/kde/patch/calligraplan/calligraplan.qt-5.15.patch b/kde/patch/calligraplan/calligraplan.qt-5.15.patch new file mode 100644 index 0000000..c8962a1 --- /dev/null +++ b/kde/patch/calligraplan/calligraplan.qt-5.15.patch @@ -0,0 +1,10 @@ +--- ./src/libs/ui/kptganttitemdelegate.cpp.orig 2019-12-12 05:48:13.000000000 -0600 ++++ ./src/libs/ui/kptganttitemdelegate.cpp 2020-07-18 14:48:48.058351438 -0500 +@@ -28,6 +28,7 @@ + #include + #include + #include ++#include + #include + + #include -- cgit v1.2.3