svn commit: r530642 - head/irc/quassel/files

Tobias C. Berner tcberner at FreeBSD.org
Sat Apr 4 11:22:48 UTC 2020


Author: tcberner
Date: Sat Apr  4 11:22:39 2020
New Revision: 530642
URL: https://svnweb.freebsd.org/changeset/ports/530642

Log:
  irc/quassel: Prepare for Qt5-5.14
  
  PR:		244964

Added:
  head/irc/quassel/files/patch-src_common_types.h   (contents, props changed)

Added: head/irc/quassel/files/patch-src_common_types.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/irc/quassel/files/patch-src_common_types.h	Sat Apr  4 11:22:39 2020	(r530642)
@@ -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<MsgId> MsgIdList;
+ typedef QList<BufferId> 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<T>(v);
+     return in;
+ }
++#endif
+ 
+ // Exceptions
+ 


More information about the svn-ports-all mailing list