summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'kde-apps/kalzium/files/kalzium-18.03.90-missing-header.patch')
-rw-r--r--kde-apps/kalzium/files/kalzium-18.03.90-missing-header.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/kde-apps/kalzium/files/kalzium-18.03.90-missing-header.patch b/kde-apps/kalzium/files/kalzium-18.03.90-missing-header.patch
new file mode 100644
index 000000000000..8d1eee5720b0
--- /dev/null
+++ b/kde-apps/kalzium/files/kalzium-18.03.90-missing-header.patch
@@ -0,0 +1,24 @@
+From a56c48890a21f0d9556474e3edae9c11be898243 Mon Sep 17 00:00:00 2001
+From: Andreas Sturmlechner <andreas.sturmlechner@gmail.com>
+Date: Sun, 8 Apr 2018 02:35:14 +0200
+Subject: [PATCH] Add missing header when building with AvogadroLibs support
+
+---
+ src/kalzium.cpp | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/kalzium.cpp b/src/kalzium.cpp
+index d7c9b4c6..4636308c 100644
+--- a/src/kalzium.cpp
++++ b/src/kalzium.cpp
+@@ -42,6 +42,7 @@
+ #ifdef HAVE_OPENBABEL2
+ #if defined(HAVE_EIGEN) && defined(HAVE_AVOGADRO)
+ #include "tools/moleculeview.h"
++#include <QGLFormat>
+ #endif
+ #include "tools/obconverter.h"
+ #endif
+--
+2.17.0
+