public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/hercstudio] rawhide: Fix build with CMake 4 and latest Qt6
@ 2026-06-30 17:43 Yaakov Selkowitz
  0 siblings, 0 replies; only message in thread
From: Yaakov Selkowitz @ 2026-06-30 17:43 UTC (permalink / raw)
  To: git-commits

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)

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

only message in thread, other threads:[~2026-06-30 17:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-30 17:43 [rpms/hercstudio] rawhide: Fix build with CMake 4 and latest Qt6 Yaakov Selkowitz

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