diff --git a/srcpkgs/deepin-system-monitor/patches/qt5.14.patch b/srcpkgs/deepin-system-monitor/patches/qt5.14.patch new file mode 100644 index 00000000000..061ea5cb110 --- /dev/null +++ b/srcpkgs/deepin-system-monitor/patches/qt5.14.patch @@ -0,0 +1,28 @@ +From 014ec783c9bf11ae352934ee2e593f29700b2843 Mon Sep 17 00:00:00 2001 +From: Hillwood Yang +Date: Sat, 25 Jan 2020 20:39:39 +0800 +Subject: [PATCH] Fix hash error above Qt 5.14 + +--- + src/hashqstring.h | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/src/hashqstring.h b/src/hashqstring.h +index 20522b3..71d71c4 100644 +--- src/hashqstring.h ++++ src/hashqstring.h +@@ -27,6 +27,7 @@ + #include + #include + ++#if QT_VERSION < QT_VERSION_CHECK(5, 14, 0) + namespace std { + template<> struct hash + { +@@ -36,5 +37,6 @@ namespace std { + } + }; + } ++#endif + + #endif // HASHQSTRING_H