slackbuilds_ponce/academic/flashqard/flashqard-0.15.0_qt-4.8.7.patch
David Spencer 91a40ef1e4 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>
2016-01-17 09:40:16 +07:00

22 lines
954 B
Diff

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>