Date: Sat, 4 Apr 2020 13:28:03 +0000 (UTC) From: "Tobias C. Berner" <tcberner@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r530659 - head/deskutils/syncthingtray/files Message-ID: <202004041328.034DS3TV071462@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 { +
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202004041328.034DS3TV071462>