diff options
author | Maciej Mrozowski <reavertm@gentoo.org> | 2020-10-23 00:11:46 +0200 |
---|---|---|
committer | Maciej Mrozowski <reavertm@gentoo.org> | 2020-10-23 00:12:04 +0200 |
commit | 07cfdeb06f37d2456aceaaa35b2323c8bf0116d8 (patch) | |
tree | 6c2e6f71e5c31e35d2da7e798ceb4120135fb8e9 /net-im | |
parent | dev-util/kdevelop: Add missed subslot bump (diff) | |
download | gentoo-07cfdeb06f37d2456aceaaa35b2323c8bf0116d8.tar.gz gentoo-07cfdeb06f37d2456aceaaa35b2323c8bf0116d8.tar.bz2 gentoo-07cfdeb06f37d2456aceaaa35b2323c8bf0116d8.zip |
net-im/kadu: fix compilation
Closes: https://bugs.gentoo.org/749873
Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Maciej Mrozowski <reavertm@gentoo.org>
Diffstat (limited to 'net-im')
-rw-r--r-- | net-im/kadu/files/kadu-4.3-compilation.patch | 23 | ||||
-rw-r--r-- | net-im/kadu/kadu-4.3-r2.ebuild | 1 |
2 files changed, 24 insertions, 0 deletions
diff --git a/net-im/kadu/files/kadu-4.3-compilation.patch b/net-im/kadu/files/kadu-4.3-compilation.patch new file mode 100644 index 000000000000..b9cd0c582889 --- /dev/null +++ b/net-im/kadu/files/kadu-4.3-compilation.patch @@ -0,0 +1,23 @@ +diff -ruN kadu-4.3/kadu-core/gui/widgets/avatar-painter.cpp kadu-my/kadu-core/gui/widgets/avatar-painter.cpp +--- kadu-4.3/kadu-core/gui/widgets/avatar-painter.cpp 2017-01-24 22:36:21.000000000 +0100 ++++ kadu-my/kadu-core/gui/widgets/avatar-painter.cpp 2020-10-22 23:57:41.486490926 +0200 +@@ -22,6 +22,7 @@ + + #include <QtCore/QModelIndex> + #include <QtGui/QPainter> ++#include <QtGui/QPainterPath> + #include <QtGui/QPixmap> + #include <QtGui/QPixmapCache> + #include <QtWidgets/QStyleOptionViewItem> +diff -ruN kadu-4.3/kadu-core/plugin/state/plugin-state.test.cpp kadu-my/kadu-core/plugin/state/plugin-state.test.cpp +--- kadu-4.3/kadu-core/plugin/state/plugin-state.test.cpp 2017-01-24 22:36:21.000000000 +0100 ++++ kadu-my/kadu-core/plugin/state/plugin-state.test.cpp 2020-10-23 00:06:51.167189202 +0200 +@@ -34,7 +34,7 @@ + + void PluginStateTest::newTest() + { +- QCOMPARE(pluginStateToString(PluginState::New), {}); ++ QCOMPARE(pluginStateToString(PluginState::New), QString{}); + QCOMPARE(stringToPluginState(""), PluginState::New); + QCOMPARE(stringToPluginState("New"), PluginState::New); + QCOMPARE(stringToPluginState("Invalid"), PluginState::New); diff --git a/net-im/kadu/kadu-4.3-r2.ebuild b/net-im/kadu/kadu-4.3-r2.ebuild index 994c8fdf46fa..d2e585826dd9 100644 --- a/net-im/kadu/kadu-4.3-r2.ebuild +++ b/net-im/kadu/kadu-4.3-r2.ebuild @@ -105,6 +105,7 @@ PATCHES=( "${FILESDIR}/${PN}-4.3-fix-plugins-rpath.patch" "${FILESDIR}/${PN}-4.3-gcc7.patch" "${FILESDIR}/${PN}-4.3-find-x11-with-newer-cmake-modules.patch" + "${FILESDIR}/${PN}-4.3-compilation.patch" ) src_configure() { |