public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/quassel] epel10.2: Add fix for compiling with qt 5.14
@ 2026-10-07 20:28 Marie Loise Nolden
  0 siblings, 0 replies; only message in thread
From: Marie Loise Nolden @ 2026-10-07 20:28 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/quassel
            Branch : epel10.2
            Commit : 568b7580016b698ff5afe6a32ef835d5ac918686
            Author : Marie Loise Nolden <loise@kde.org>
            Date   : 2020-07-13T17:32:30+00:00
            Stats  : +3/-2 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/quassel/c/568b7580016b698ff5afe6a32ef835d5ac918686?branch=epel10.2

            Log:
            Add fix for compiling with qt 5.14

From FreeBSD ports tree (tcberner)

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

---
diff --git a/quassel.spec b/quassel.spec
index 924c2bc..52ca592 100755
--- a/quassel.spec
+++ b/quassel.spec
@@ -4,11 +4,12 @@
 Name:    quassel
 Summary: A modern distributed IRC system
 Version: 0.13.1
-Release: 4%{?dist}
+Release: 5%{?dist}
 
 License: GPLv2 or GPLv3
 URL:     http://quassel-irc.org/
 Source0: http://quassel-irc.org/pub/quassel-%{version}.tar.bz2
+Patch0:  patch-src_common_types.h
 
 BuildRequires: cmake
 BuildRequires: dbusmenu-qt5-devel
@@ -93,7 +94,7 @@ Quassel client
 
 
 %prep
-%setup -q -n %{name}-%{version}
+%autosetup -p0 -n %{name}-%{version}
 
 %build
 mkdir build

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-10-07 20:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-07 20:28 [rpms/quassel] epel10.2: Add fix for compiling with qt 5.14 Marie Loise Nolden

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox