summaryrefslogtreecommitdiff
path: root/social/qxmlrpc/04_do_not_link_gui.patch
diff options
context:
space:
mode:
Diffstat (limited to 'social/qxmlrpc/04_do_not_link_gui.patch')
-rw-r--r--social/qxmlrpc/04_do_not_link_gui.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/social/qxmlrpc/04_do_not_link_gui.patch b/social/qxmlrpc/04_do_not_link_gui.patch
new file mode 100644
index 000000000..c086d4990
--- /dev/null
+++ b/social/qxmlrpc/04_do_not_link_gui.patch
@@ -0,0 +1,24 @@
+Index: qxmlrpc-0.0.svn6/xmlrpc/stable.h
+===================================================================
+--- qxmlrpc-0.0.svn6.orig/xmlrpc/stable.h 2010-06-04 18:23:58.000000000 +0400
++++ qxmlrpc-0.0.svn6/xmlrpc/stable.h 2010-06-04 18:24:20.000000000 +0400
+@@ -2,7 +2,6 @@
+ #ifndef STABLE_H
+ #define STABLE_H
+ #if defined(__cplusplus) and not defined(__OBJC__)
+- #include <QtGui>
+ #include <QtXml>
+ #include <QtCore>
+ #include <QtNetwork>
+Index: qxmlrpc-0.0.svn6/xmlrpc/xmlrpc.pro
+===================================================================
+--- qxmlrpc-0.0.svn6.orig/xmlrpc/xmlrpc.pro 2010-06-04 18:23:54.000000000 +0400
++++ qxmlrpc-0.0.svn6/xmlrpc/xmlrpc.pro 2010-06-04 18:24:12.000000000 +0400
+@@ -10,6 +10,7 @@
+ DEPENDPATH += .
+ INCLUDEPATH += . ..
+
++QT -= gui
+ QT += xml
+ QT += network
+