svn commit: r530659 - head/deskutils/syncthingtray/files
Tobias C. Berner
tcberner at FreeBSD.org
Sat Apr 4 13:35:57 UTC 2020
Author: tcberner
Date: Sat Apr 4 13:28:03 2020
New Revision: 530659
URL: https://svnweb.freebsd.org/changeset/ports/530659
Log:
deskutils/syncthingtray: Prepare for Qt5-5.14
PR: 244964
Added:
head/deskutils/syncthingtray/files/patch-qt5-5.14 (contents, props changed)
Added: head/deskutils/syncthingtray/files/patch-qt5-5.14
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/deskutils/syncthingtray/files/patch-qt5-5.14 Sat Apr 4 13:28:03 2020 (r530659)
@@ -0,0 +1,25 @@
+Fix build with Qt5-5.14
+
+Obtained from:
+ https://github.com/Martchus/syncthingtray/commit/37893f77cbb95b19cd3644dcdea891fed2cdf408
+
+--- ../syncthingtray/widgets/settings/settings.cpp.orig 2020-04-04 15:18:02.892012000 +0200
++++ ../syncthingtray/widgets/settings/settings.cpp 2020-04-04 15:18:31.344229000 +0200
+@@ -33,8 +33,8 @@
+ using namespace Data;
+ using namespace QtUtilities;
+
++#if (QT_VERSION < QT_VERSION_CHECK(5, 14, 0))
+ namespace std {
+-
+ template <> struct hash<QString> {
+ std::size_t operator()(const QString &str) const
+ {
+@@ -42,6 +42,7 @@
+ }
+ };
+ } // namespace std
++#endif
+
+ namespace Settings {
+
More information about the svn-ports-head
mailing list