Package: phantomjs / 2.1.1+dfsg-2

unlock-qt.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Last-Update: 2016-06-16
Forwarded: not-needed
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=827421
Author: Dmitry Smirnov <onlyjob@debian.org>
Description: allow build with QT-5.5+

--- a/src/phantomjs.pro
+++ b/src/phantomjs.pro
@@ -2,11 +2,8 @@
 QMAKE_CFLAGS   *= $$(CFLAGS) $$(CPPFLAGS)
 QMAKE_CXXFLAGS *= $$(CXXFLAGS) $$(CPPFLAGS)
 QMAKE_LFLAGS   *= $$(LDFLAGS)
 
-if(!equals(QT_MAJOR_VERSION, 5)|!equals(QT_MINOR_VERSION, 5)) {
-    error("This program can only be compiled with Qt 5.5.x.")
-}
 
 TEMPLATE = app
 TARGET = phantomjs
 QT += network webkitwidgets printsupport