diff options
author | Bernard Cafarelli <voyageur@gentoo.org> | 2020-06-10 13:53:46 +0200 |
---|---|---|
committer | Bernard Cafarelli <voyageur@gentoo.org> | 2020-06-10 13:58:41 +0200 |
commit | c93ee5f0930ed887880957b051cc611cab5a1779 (patch) | |
tree | 446c6d3fca91aa9a54d0b6c3ee4a1d7f1f5bfbec /net-misc/nextcloud-client | |
parent | net-misc/nextcloud-client: drop old 2.6 versions (diff) | |
download | gentoo-c93ee5f0930ed887880957b051cc611cab5a1779.tar.gz gentoo-c93ee5f0930ed887880957b051cc611cab5a1779.tar.bz2 gentoo-c93ee5f0930ed887880957b051cc611cab5a1779.zip |
net-misc/nextcloud-client: fix compilation failure with Qt 5.15
Closes: https://bugs.gentoo.org/727474
Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
Diffstat (limited to 'net-misc/nextcloud-client')
-rw-r--r-- | net-misc/nextcloud-client/files/nextcloud-client-2.6.4-qt515.patch | 22 | ||||
-rw-r--r-- | net-misc/nextcloud-client/nextcloud-client-2.6.4.ebuild | 4 |
2 files changed, 25 insertions, 1 deletions
diff --git a/net-misc/nextcloud-client/files/nextcloud-client-2.6.4-qt515.patch b/net-misc/nextcloud-client/files/nextcloud-client-2.6.4-qt515.patch new file mode 100644 index 000000000000..5c59cf46bf39 --- /dev/null +++ b/net-misc/nextcloud-client/files/nextcloud-client-2.6.4-qt515.patch @@ -0,0 +1,22 @@ +From 0fe7a657386b107ae498e7749ff4c20116b9752a Mon Sep 17 00:00:00 2001 +From: Michael Schuster <michael@schuster.ms> +Date: Sun, 7 Jun 2020 02:43:45 +0200 +Subject: [PATCH] Fix Qt 5.15.0 build error (missing include) + +Signed-off-by: Michael Schuster <michael@schuster.ms> +--- + src/libsync/networkjobs.cpp | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/libsync/networkjobs.cpp b/src/libsync/networkjobs.cpp +index fd63b9606..bb5786ea9 100644 +--- a/src/libsync/networkjobs.cpp ++++ b/src/libsync/networkjobs.cpp +@@ -31,6 +31,7 @@ + #include <QJsonDocument> + #include <QJsonObject> + #include <QPainter> ++#include <QPainterPath> + + #include "networkjobs.h" + #include "account.h" diff --git a/net-misc/nextcloud-client/nextcloud-client-2.6.4.ebuild b/net-misc/nextcloud-client/nextcloud-client-2.6.4.ebuild index 0efd5f09b271..655fcb79a2b3 100644 --- a/net-misc/nextcloud-client/nextcloud-client-2.6.4.ebuild +++ b/net-misc/nextcloud-client/nextcloud-client-2.6.4.ebuild @@ -51,7 +51,9 @@ DEPEND="${COMMON_DEPEND} RESTRICT="!test? ( test )" -PATCHES=( "${FILESDIR}"/${PN}-2.6.1-include_tests.patch ) +PATCHES=( "${FILESDIR}"/${PN}-2.6.1-include_tests.patch + "${FILESDIR}"/${P}-qt515.patch + ) S=${WORKDIR}/desktop-${PV/_/-} |