mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-11 09:33:50 +02:00
chatterino2: add patch for qt5.14
This commit is contained in:
parent
bdc9e49f39
commit
2cd60b217a
1 changed files with 24 additions and 0 deletions
24
srcpkgs/chatterino2/patches/0002-qt5.14.patch
Normal file
24
srcpkgs/chatterino2/patches/0002-qt5.14.patch
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
From 033c97e85dbaeda687253dc5b9e3008fd50f057a Mon Sep 17 00:00:00 2001
|
||||||
|
From: fourtf <tf.four@gmail.com>
|
||||||
|
Date: Thu, 3 Oct 2019 10:07:14 +0200
|
||||||
|
Subject: [PATCH] disabled hash<QString> for Qt 5.14
|
||||||
|
|
||||||
|
---
|
||||||
|
src/util/QStringHash.hpp | 2 ++
|
||||||
|
1 file changed, 2 insertions(+)
|
||||||
|
|
||||||
|
--- src/util/qstringhash.hpp 2018-06-25 12:52:07.000000000 +0200
|
||||||
|
+++ - 2019-11-16 14:08:54.342448158 +0100
|
||||||
|
@@ -3,6 +3,7 @@
|
||||||
|
#include <QHash>
|
||||||
|
#include <QString>
|
||||||
|
|
||||||
|
+#if QT_VERSION < QT_VERSION_CHECK(5, 14, 0)
|
||||||
|
namespace std {
|
||||||
|
template <>
|
||||||
|
struct hash<QString> {
|
||||||
|
@@ -12,3 +13,4 @@
|
||||||
|
}
|
||||||
|
};
|
||||||
|
} // namespace std
|
||||||
|
+#endif
|
Loading…
Add table
Reference in a new issue