summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-04-10 21:48:24 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2018-04-10 22:09:27 +0200
commit19116434ada2eeffdf6470d941acd374609b1cfe (patch)
tree15dc0cdf4e8abcbde20508865f09857b7af470aa /sci-libs
parentapp-editors/juffed: Fix build with Qt-5.11 (diff)
downloadgentoo-19116434ada2eeffdf6470d941acd374609b1cfe.tar.gz
gentoo-19116434ada2eeffdf6470d941acd374609b1cfe.tar.bz2
gentoo-19116434ada2eeffdf6470d941acd374609b1cfe.zip
sci-libs/avogadrolibs: Fix build with Qt-5.11
Package-Manager: Portage-2.3.28, Repoman-2.3.9
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/avogadrolibs/avogadrolibs-1.91.0_pre20180406-r1.ebuild (renamed from sci-libs/avogadrolibs/avogadrolibs-1.91.0_pre20180406.ebuild)1
-rw-r--r--sci-libs/avogadrolibs/files/avogadrolibs-1.91.0_pre20180406-qt-5.11.patch29
2 files changed, 30 insertions, 0 deletions
diff --git a/sci-libs/avogadrolibs/avogadrolibs-1.91.0_pre20180406.ebuild b/sci-libs/avogadrolibs/avogadrolibs-1.91.0_pre20180406-r1.ebuild
index f7417ab49bf5..bd5274cca9b1 100644
--- a/sci-libs/avogadrolibs/avogadrolibs-1.91.0_pre20180406.ebuild
+++ b/sci-libs/avogadrolibs/avogadrolibs-1.91.0_pre20180406-r1.ebuild
@@ -48,6 +48,7 @@ PATCHES=(
"${FILESDIR}/"${P}-underlinking.patch
"${FILESDIR}/"${P}-unbundle-jsoncpp.patch
"${FILESDIR}/"${P}-bundled-genxrdpattern.patch
+ "${FILESDIR}/"${P}-qt-5.11.patch
)
src_unpack() {
diff --git a/sci-libs/avogadrolibs/files/avogadrolibs-1.91.0_pre20180406-qt-5.11.patch b/sci-libs/avogadrolibs/files/avogadrolibs-1.91.0_pre20180406-qt-5.11.patch
new file mode 100644
index 000000000000..437b1e755af8
--- /dev/null
+++ b/sci-libs/avogadrolibs/files/avogadrolibs-1.91.0_pre20180406-qt-5.11.patch
@@ -0,0 +1,29 @@
+From 5d70cd5ec5ac8460ff5d3d6b0b47b9c60e1f3ca2 Mon Sep 17 00:00:00 2001
+From: Andreas Sturmlechner <asturm@gentoo.org>
+Date: Tue, 10 Apr 2018 21:59:32 +0200
+Subject: [PATCH] Fix build with Qt-5.11
+
+---
+ avogadro/qtplugins/gamessinput/gamessinput.cpp | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/avogadro/qtplugins/gamessinput/gamessinput.cpp b/avogadro/qtplugins/gamessinput/gamessinput.cpp
+index 779d2d4..0b2e106 100644
+--- a/avogadro/qtplugins/gamessinput/gamessinput.cpp
++++ b/avogadro/qtplugins/gamessinput/gamessinput.cpp
+@@ -24,9 +24,9 @@
+
+ #include <molequeue/client/jobobject.h>
+
+-#include <QtCore/QDebug>
+-
+-#include <QtWidgets/QMessageBox>
++#include <QAction>
++#include <QDebug>
++#include <QMessageBox>
+
+ namespace Avogadro {
+ namespace Core {
+--
+2.17.0
+