diff options
author | David Spencer <baildon.research@googlemail.com> | 2015-07-28 12:06:30 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-01-17 09:40:16 +0700 |
commit | 91a40ef1e4bd27ccfd6c8b8deac94c3615f1054f (patch) | |
tree | c4cc58c7cbc7e8ac485fa716d3dad698adb2efc6 /academic/flashqard/flashqard-0.15.0_qt-4.8.7.patch | |
parent | 7d7ef4b6a3d3becdbf91353f291c1a24750c14f4 (diff) |
academic/flashqard: Patched to build on -current.
Fails to build with qt-4.8.7.
Template cleanups.
Signed-off-by: David Spencer <baildon.research@googlemail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic/flashqard/flashqard-0.15.0_qt-4.8.7.patch')
-rw-r--r-- | academic/flashqard/flashqard-0.15.0_qt-4.8.7.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/academic/flashqard/flashqard-0.15.0_qt-4.8.7.patch b/academic/flashqard/flashqard-0.15.0_qt-4.8.7.patch new file mode 100644 index 0000000000000..57bce20dce4f3 --- /dev/null +++ b/academic/flashqard/flashqard-0.15.0_qt-4.8.7.patch @@ -0,0 +1,22 @@ +diff -u -r flashqard-0.15.0/src/PrettyButton.cpp flashqard-0.15.0-patched/src/PrettyButton.cpp +--- flashqard-0.15.0/src/PrettyButton.cpp 2009-09-08 22:56:54.000000000 +0100 ++++ flashqard-0.15.0-patched/src/PrettyButton.cpp 2015-07-28 11:49:56.506872447 +0100 +@@ -25,6 +25,7 @@ + #include "PrettyButton.h" + #include "TextEditor.h" + #include "MimeData.h" ++#include <QApplication> + #include <QPainter> + #include <QTimerEvent> + #include <QDropEvent> +diff -u -r flashqard-0.15.0/src/Utilities.cpp flashqard-0.15.0-patched/src/Utilities.cpp +--- flashqard-0.15.0/src/Utilities.cpp 2009-09-08 22:56:54.000000000 +0100 ++++ flashqard-0.15.0-patched/src/Utilities.cpp 2015-07-28 11:45:33.484870666 +0100 +@@ -22,6 +22,7 @@ + // | Author: Shahab Shirazi <shahab@flashqard-project.org> | + // +-------------------------------------------------------------------------+ + ++#include <QDir> + #include <QRegExp> + #include <QToolBar> + #include <QMessageBox> |