From 3be8f467589fbc1061716d18e35c08abcca706af Mon Sep 17 00:00:00 2001 From: Max Brazhnikov Date: Thu, 2 Dec 2010 08:02:18 +0000 Subject: [PATCH] Fix build with upcoming Qt-4.7 Approved by: maintainer --- .../patch-src__plugins__dataforms__dataforms.cpp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 net-im/vacuum-im/files/patch-src__plugins__dataforms__dataforms.cpp diff --git a/net-im/vacuum-im/files/patch-src__plugins__dataforms__dataforms.cpp b/net-im/vacuum-im/files/patch-src__plugins__dataforms__dataforms.cpp new file mode 100644 index 000000000000..471a4a64dc55 --- /dev/null +++ b/net-im/vacuum-im/files/patch-src__plugins__dataforms__dataforms.cpp @@ -0,0 +1,14 @@ +--- ./src/plugins/dataforms/dataforms.cpp.orig 2010-02-04 23:15:54.000000000 +0300 ++++ ./src/plugins/dataforms/dataforms.cpp 2010-12-02 00:40:53.396505897 +0300 +@@ -1087,9 +1087,11 @@ + reply->ignoreSslErrors(); + } + ++#if (QT_VERSION <= QT_VERSION_CHECK(4, 7, 0)) + uint qHash(const QUrl &key) + { + return qHash(key.toString()); + } ++#endif + + Q_EXPORT_PLUGIN2(plg_dataforms, DataForms);