aboutsummaryrefslogtreecommitdiff
path: root/development/phantomjs/patches/fix-missing-webkit-include-files.patch
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@slackbuilds.org>2021-11-20 20:24:27 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-11-22 09:10:20 +0700
commit80dde6cb9fb24583c26dc3fc1d2d6ce45de47771 (patch)
treed25d6c6d05a7ce4cbf735c5a2f7775b04dec83a0 /development/phantomjs/patches/fix-missing-webkit-include-files.patch
parent0b1d0630dade44cb8cbace138ec338bdffffe79c (diff)
development/phantomjs: Updated for version 2.1.1
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/phantomjs/patches/fix-missing-webkit-include-files.patch')
-rw-r--r--development/phantomjs/patches/fix-missing-webkit-include-files.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/development/phantomjs/patches/fix-missing-webkit-include-files.patch b/development/phantomjs/patches/fix-missing-webkit-include-files.patch
new file mode 100644
index 0000000000..9e1fe8aacc
--- /dev/null
+++ b/development/phantomjs/patches/fix-missing-webkit-include-files.patch
@@ -0,0 +1,23 @@
+diff --git a/src/webpage.cpp b/src/webpage.cpp
+index fc235bc..2151e4e 100644
+--- a/src/webpage.cpp
++++ b/src/webpage.cpp
+@@ -45,12 +45,12 @@
+ #include <QNetworkRequest>
+ #include <QPainter>
+ #include <QtPrintSupport/QPrinter>
+-#include <QWebHistory>
+-#include <QWebHistoryItem>
+-#include <QWebElement>
+-#include <QWebFrame>
+-#include <QWebPage>
+-#include <QWebInspector>
++#include <QtWebKit/QWebHistory>
++#include <QtWebKit/QWebHistoryItem>
++#include <QtWebKit/QWebElement>
++#include <QtWebKitWidgets/QWebFrame>
++#include <QtWebKitWidgets/QWebPage>
++#include <QtWebKitWidgets/QWebInspector>
+ #include <QMapIterator>
+ #include <QBuffer>
+ #include <QDebug>