diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2020-04-21 10:32:12 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2020-04-21 11:22:16 +0200 |
commit | 7bb83005127b22c758cd4c834f17c1939bc104b4 (patch) | |
tree | ecabb40c584bb2e08d82aa61b14b17c1188ba796 | |
parent | media-video/vlc: Fix build with Qt 5.15 (diff) | |
download | gentoo-7bb83005127b22c758cd4c834f17c1939bc104b4.tar.gz gentoo-7bb83005127b22c758cd4c834f17c1939bc104b4.tar.bz2 gentoo-7bb83005127b22c758cd4c834f17c1939bc104b4.zip |
net-misc/smb4k: Fix build with Qt 5.15
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
-rw-r--r-- | net-misc/smb4k/files/smb4k-3.0.4-qt-5.15.patch | 25 | ||||
-rw-r--r-- | net-misc/smb4k/smb4k-3.0.4.ebuild | 2 |
2 files changed, 27 insertions, 0 deletions
diff --git a/net-misc/smb4k/files/smb4k-3.0.4-qt-5.15.patch b/net-misc/smb4k/files/smb4k-3.0.4-qt-5.15.patch new file mode 100644 index 000000000000..8948e30dfa12 --- /dev/null +++ b/net-misc/smb4k/files/smb4k-3.0.4-qt-5.15.patch @@ -0,0 +1,25 @@ +From 009ebe0224f7e236837741a1b35f0c572024e8b3 Mon Sep 17 00:00:00 2001 +From: Andreas Sturmlechner <asturm@gentoo.org> +Date: Tue, 21 Apr 2020 10:27:28 +0200 +Subject: [PATCH] Fix build with Qt-5.15 (missing header) + +Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> +--- + smb4k/smb4ktooltip.cpp | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/smb4k/smb4ktooltip.cpp b/smb4k/smb4ktooltip.cpp +index de07a1d..b1064f7 100644 +--- a/smb4k/smb4ktooltip.cpp ++++ b/smb4k/smb4ktooltip.cpp +@@ -43,6 +43,7 @@ + #include <QToolTip> + #include <QApplication> + #include <QDesktopWidget> ++#include <QPainterPath> + #include <QStylePainter> + #include <QStyle> + #include <QStyleOptionFrame> +-- +2.26.1 + diff --git a/net-misc/smb4k/smb4k-3.0.4.ebuild b/net-misc/smb4k/smb4k-3.0.4.ebuild index a7ff9e7f655d..3786a642748c 100644 --- a/net-misc/smb4k/smb4k-3.0.4.ebuild +++ b/net-misc/smb4k/smb4k-3.0.4.ebuild @@ -54,6 +54,8 @@ RDEPEND="${DEPEND} ) " +PATCHES=( "${FILESDIR}/${P}-qt-5.15.patch" ) + src_configure() { local mycmakeargs=( -DINSTALL_PLASMOID=$(usex plasma) |