Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Dec 2025 21:40:16 +0000
From:      Jason E. Hale <jhale@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 9cd5fc63ae7a - main - audio/fooyin: Fix build with Qt 6.10.1
Message-ID:  <694474c0.42a2a.477eed0c@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by jhale:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9cd5fc63ae7a40981a2794896a9f6e532d0cc1bd

commit 9cd5fc63ae7a40981a2794896a9f6e532d0cc1bd
Author:     Jason E. Hale <jhale@FreeBSD.org>
AuthorDate: 2025-12-18 20:11:18 +0000
Commit:     Jason E. Hale <jhale@FreeBSD.org>
CommitDate: 2025-12-18 21:39:01 +0000

    audio/fooyin: Fix build with Qt 6.10.1
    
    With hat:       kde@
---
 audio/fooyin/files/patch-src_utils_starrating.cpp | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/audio/fooyin/files/patch-src_utils_starrating.cpp b/audio/fooyin/files/patch-src_utils_starrating.cpp
new file mode 100644
index 000000000000..d6bba85b0a9f
--- /dev/null
+++ b/audio/fooyin/files/patch-src_utils_starrating.cpp
@@ -0,0 +1,16 @@
+Fix build with Qt 6.10.1. The QString::arg() method no longer accepts
+implicit conversions. [1]
+
+[1] https://doc.qt.io/qt-6/qstring.html#arg-2
+
+--- src/utils/starrating.cpp.orig	2025-09-21 21:11:29 UTC
++++ src/utils/starrating.cpp
+@@ -104,7 +104,7 @@ void StarRating::paint(QPainter* painter, const QRect&
+                                  .arg(m_maxCount)
+                                  .arg(mode == EditMode::Editable ? 1 : 0)
+                                  .arg(rect.width())
+-                                 .arg(alignment);
++                                 .arg(alignment.toInt());
+ 
+     QPixmap pixmap;
+     if(!QPixmapCache::find(cacheKey, &pixmap)) {


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?694474c0.42a2a.477eed0c>