public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Marie Loise Nolden <loise@kde.org>
To: git-commits@fedoraproject.org
Subject: [rpms/quassel] epel10.2: Add fix for compiling with qt 5.14
Date: Wed, 07 Oct 2026 20:28:27 GMT	[thread overview]
Message-ID: <179140490747.1.2912018973341879056.rpms-quassel-568b7580016b@fedoraproject.org> (raw)

            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

                 reply	other threads:[~2026-10-07 20:28 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179140490747.1.2912018973341879056.rpms-quassel-568b7580016b@fedoraproject.org \
    --to=loise@kde.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox