public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Yaakov Selkowitz <yselkowi@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/hercstudio] rawhide: Fix build with CMake 4 and latest Qt6
Date: Tue, 30 Jun 2026 17:43:43 GMT	[thread overview]
Message-ID: <178284142380.1.3885779635668539020.rpms-hercstudio-c0005da16bd0@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/hercstudio
Branch : rawhide
Commit : c0005da16bd0a94256e464998fb044f1f84a93be
Author : Yaakov Selkowitz <yselkowi@redhat.com>
Date   : 2026-06-30T12:52:23-04:00
Stats  : +14/-0 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/hercstudio/c/c0005da16bd0a94256e464998fb044f1f84a93be?branch=rawhide

Log:
Fix build with CMake 4 and latest Qt6

---
diff --git a/hercstudio.spec b/hercstudio.spec
index d8ac0f4..21876cc 100644
--- a/hercstudio.spec
+++ b/hercstudio.spec
@@ -8,6 +8,8 @@ URL:            https://hercstudio.sourceforge.io/
 Source0:        %{url}/herculesstudio-%{version}-src.tar.gz
 # borrowed from Debian
 Source1:        HerculesStudio.1
+# fix build with latest Qt6
+Patch0:         qt610.patch
 
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
@@ -31,6 +33,7 @@ sed -i '/CMAKE_CXX_FLAGS/d' CMakeLists.txt
 
 
 %build
+export CMAKE_POLICY_VERSION_MINIMUM=3.5
 %cmake
 %cmake_build
 

diff --git a/qt610.patch b/qt610.patch
new file mode 100644
index 0000000..1219f47
--- /dev/null
+++ b/qt610.patch
@@ -0,0 +1,11 @@
+diff -up ./HercPrinter/PrinterInterface.h.orig ./HercPrinter/PrinterInterface.h
+--- ./HercPrinter/PrinterInterface.h.orig	2022-10-23 07:23:26.000000000 -0400
++++ ./HercPrinter/PrinterInterface.h	2026-06-30 12:48:04.900899118 -0400
+@@ -32,6 +32,7 @@
+ #include "DecolationRules.h"
+ 
+ #include <QHostAddress>
++#include <QMultiMap>
+ #include <QPainter>
+ 
+ mk_shared_ptr(Stationery)

                 reply	other threads:[~2026-06-30 17:43 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=178284142380.1.3885779635668539020.rpms-hercstudio-c0005da16bd0@fedoraproject.org \
    --to=yselkowi@redhat.com \
    --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