diff options
author | makc <makc@FreeBSD.org> | 2010-12-02 16:02:18 +0800 |
---|---|---|
committer | makc <makc@FreeBSD.org> | 2010-12-02 16:02:18 +0800 |
commit | 9a54e7cafde5c154720f1ac45508b61f9ed0c0b4 (patch) | |
tree | ac71acf6aadd94b51b23f632802ab96465bc4c62 | |
parent | 2876cc28f6106d565b6096a37d4459f76eeea365 (diff) | |
download | freebsd-ports-gnome-9a54e7cafde5c154720f1ac45508b61f9ed0c0b4.tar.gz freebsd-ports-gnome-9a54e7cafde5c154720f1ac45508b61f9ed0c0b4.tar.zst freebsd-ports-gnome-9a54e7cafde5c154720f1ac45508b61f9ed0c0b4.zip |
Fix build with upcoming Qt-4.7
Approved by: maintainer
-rw-r--r-- | net-im/vacuum-im/files/patch-src__plugins__dataforms__dataforms.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
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);
|