commit: 8fbb68e1baedec6f1bd129ab2357e97987a06cfc
Author: Thomas Beierlein <tomjbe <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 9 10:44:14 2025 +0000
Commit: Thomas Beierlein <tomjbe <AT> gentoo <DOT> org>
CommitDate: Wed Jul 9 10:44:56 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8fbb68e1
media-radio/wsjtx_improved: Fix build with Qt-6.9.1
Signed-off-by: Thomas Beierlein <tomjbe <AT> gentoo.org>
.../wsjtx_improved/files/wsjtx-2.8.0-qt691.patch | 40 ++++++++++++++++++++++
...2.8.0.ebuild => wsjtx_improved-2.8.0-r1.ebuild} | 1 +
2 files changed, 41 insertions(+)
diff --git a/media-radio/wsjtx_improved/files/wsjtx-2.8.0-qt691.patch
b/media-radio/wsjtx_improved/files/wsjtx-2.8.0-qt691.patch
new file mode 100644
index 000000000000..97e7d207834c
--- /dev/null
+++ b/media-radio/wsjtx_improved/files/wsjtx-2.8.0-qt691.patch
@@ -0,0 +1,40 @@
+diff --git a/widgets/logqso.cpp b/widgets/logqso.cpp
+index 3f81b4d..eed2835 100755
+--- a/widgets/logqso.cpp
++++ b/widgets/logqso.cpp
+@@ -176,7 +176,7 @@ void LogQSO::loadSettings ()
+ QString comments_location; // load the content of comments.txt file to the
comments combo box
+ QDir dataPath {QStandardPaths::writableLocation
(QStandardPaths::AppDataLocation)};
+ comments_location = dataPath.exists("comments.txt") ?
dataPath.absoluteFilePath("comments.txt") : m_config->data_dir
().absoluteFilePath ("comments.txt");
+- QFile file2 = {comments_location};
++ QFile file2 {comments_location};
+ QTextStream stream2(&file2);
+ if(file2.open (QIODevice::ReadOnly | QIODevice::Text)) {
+ while (!stream2.atEnd()) {
+@@ -538,7 +538,7 @@ void LogQSO::on_addButton_clicked()
+ if (m_comments_temp != "") {
+ QString comments_location =
m_config->writeable_data_dir().absoluteFilePath("comments.txt");
+
if(QFileInfo::exists(m_config->writeable_data_dir().absoluteFilePath("comments.txt")))
{
+- QFile file2 = {comments_location};
++ QFile file2 {comments_location};
+ if (file2.open(QIODevice::WriteOnly | QIODevice::Text |
QIODevice::Append)) {
+ QTextStream out(&file2);
+ out << m_comments_temp // append new line to
comments.txt
+@@ -555,7 +555,7 @@ void LogQSO::on_addButton_clicked()
+ "\"comments.txt\" from your log
directory");
+ }
+ } else {
+- QFile file2 = {comments_location};
++ QFile file2 {comments_location};
+ if (file2.open(QIODevice::WriteOnly | QIODevice::Text |
QIODevice::Append)) {
+ QTextStream out(&file2);
+ out << ("\n" + m_comments_temp) // create file "comments.txt"
and add a blank line
+@@ -573,7 +573,7 @@ void LogQSO::on_addButton_clicked()
+ }
+ }
+ ui->comments->clear(); // clear the comments combo box
and reload updated content
+- QFile file2 = {comments_location};
++ QFile file2 {comments_location};
+ QTextStream stream2(&file2);
+ if(file2.open (QIODevice::ReadOnly | QIODevice::Text)) {
+ while (!stream2.atEnd()) {
diff --git a/media-radio/wsjtx_improved/wsjtx_improved-2.8.0.ebuild
b/media-radio/wsjtx_improved/wsjtx_improved-2.8.0-r1.ebuild
similarity index 97%
rename from media-radio/wsjtx_improved/wsjtx_improved-2.8.0.ebuild
rename to media-radio/wsjtx_improved/wsjtx_improved-2.8.0-r1.ebuild
index 6c36197e41ab..5dc388325348 100644
--- a/media-radio/wsjtx_improved/wsjtx_improved-2.8.0.ebuild
+++ b/media-radio/wsjtx_improved/wsjtx_improved-2.8.0-r1.ebuild
@@ -37,6 +37,7 @@ PATCHES=(
"${FILESDIR}/wsjtx-2.3.0-drop-docs.patch"
"${FILESDIR}/wsjtx-clang.patch"
"${FILESDIR}/wsjtx-fix-sound-dir.patch"
+ "${FILESDIR}/wsjtx-2.8.0-qt691.patch"
)
DOCS=( AUTHORS BUGS NEWS README THANKS )