diff --git a/irc/quassel/files/patch-src_common_types.h b/irc/quassel/files/patch-src_common_types.h new file mode 100644 index 000000000000..41f20298dc3f --- /dev/null +++ b/irc/quassel/files/patch-src_common_types.h @@ -0,0 +1,23 @@ +Fix with Qt5-5.14 + +Obtained from: + https://github.com/quassel/quassel/commit/579e559a6322209df7cd51c34801fecff5fe734b + +--- src/common/types.h.orig 2020-04-04 10:50:56 UTC ++++ src/common/types.h +@@ -140,6 +140,7 @@ Q_DECLARE_METATYPE(QHostAddress) + typedef QList MsgIdList; + typedef QList BufferIdList; + ++#if QT_VERSION < QT_VERSION_CHECK(5, 14, 0) + /** + * Catch-all stream serialization operator for enum types. + * +@@ -169,6 +170,7 @@ QDataStream &operator>>(QDataStream &in, T &value) { + value = static_cast(v); + return in; + } ++#endif + + // Exceptions +