Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package wsjtx for openSUSE:Factory checked 
in at 2026-03-02 17:35:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/wsjtx (Old)
 and      /work/SRC/openSUSE:Factory/.wsjtx.new.29461 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "wsjtx"

Mon Mar  2 17:35:39 2026 rev:3 rq:1335633 version:2.7.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/wsjtx/wsjtx.changes      2025-02-20 
16:33:35.729012072 +0100
+++ /work/SRC/openSUSE:Factory/.wsjtx.new.29461/wsjtx.changes   2026-03-02 
17:35:57.740401085 +0100
@@ -1,0 +2,6 @@
+Thu Feb 26 21:27:57 UTC 2026 - Andreas Stieger <[email protected]>
+
+- fix build with hamlib 4.7.0
+  add wsjtx-2.7.0-hamlib-4.7.0-deprecated.patch
+
+-------------------------------------------------------------------

New:
----
  wsjtx-2.7.0-hamlib-4.7.0-deprecated.patch

----------(New B)----------
  New:- fix build with hamlib 4.7.0
  add wsjtx-2.7.0-hamlib-4.7.0-deprecated.patch
----------(New E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ wsjtx.spec ++++++
--- /var/tmp/diff_new_pack.lZSLqH/_old  2026-03-02 17:35:59.240464276 +0100
+++ /var/tmp/diff_new_pack.lZSLqH/_new  2026-03-02 17:35:59.244464444 +0100
@@ -22,6 +22,7 @@
 Source:         %{name}-%{version}.tar.xz
 Source2:        wsjtx.rpmlintrc
 Patch0:         reproducible.patch
+Patch1:         wsjtx-2.7.0-hamlib-4.7.0-deprecated.patch
 BuildRequires:  asciidoc
 BuildRequires:  cmake >= 3.7.2
 BuildRequires:  dos2unix
@@ -68,7 +69,8 @@
 %build
 export PKG_CONFIG_ALLOW_SYSTEM_LIBS=1
 %cmake \
-    -DWSJT_GENERATE_DOCS=OFF
+    -DWSJT_GENERATE_DOCS=OFF \
+    %{nil}
 %cmake_build
 
 %install
@@ -81,7 +83,29 @@
 %files
 %license COPYING
 %doc AUTHORS BUGS NEWS README THANKS
-%{_bindir}/*
+%{_bindir}/cablog
+%{_bindir}/echosim
+%{_bindir}/fcal
+%{_bindir}/fmeasure
+%{_bindir}/fmtave
+%{_bindir}/fst4sim
+%{_bindir}/ft8code
+%{_bindir}/hash22calc
+%{_bindir}/jt4code
+%{_bindir}/jt65code
+%{_bindir}/jt9
+%{_bindir}/jt9code
+%{_bindir}/message_aggregator
+%{_bindir}/msk144code
+%{_bindir}/q65code
+%{_bindir}/q65sim
+%{_bindir}/rigctl-wsjtx
+%{_bindir}/rigctlcom-wsjtx
+%{_bindir}/rigctld-wsjtx
+%{_bindir}/udp_daemon
+%{_bindir}/wsjtx
+%{_bindir}/wsjtx_app_version
+%{_bindir}/wsprd
 %{_datadir}/applications/*.desktop
 %{_datadir}/pixmaps/%{name}_icon.png
 %{_datadir}/%{name}

++++++ wsjtx-2.7.0-hamlib-4.7.0-deprecated.patch ++++++
From: Andreas Stieger <[email protected]>
Date: Thu, 26 Feb 2026 22:24:08 +0100
Subject: Fix build with hamlib 4.7.0

rig_get_conf is deprecated in favor of rig_get_conf2
with an additional size parameter. Removed in hamlib 5.

[  104s] 
/home/abuild/rpmbuild/BUILD/wsjtx-2.7.0-build/wsjtx-2.7.0/Transceiver/HamlibTransceiver.cpp:
 In member function ‘QByteArray HamlibTransceiver::impl::get_conf(const char*)’:
[  104s] 
/home/abuild/rpmbuild/BUILD/wsjtx-2.7.0-build/wsjtx-2.7.0/Transceiver/HamlibTransceiver.cpp:323:33:
 error: ‘int rig_get_conf(RIG*, hamlib_token_t, char*)’ is deprecated 
[-Werror=deprecated-declarations]
[  104s]   323 |       error_check (rig_get_conf (rig_.data (), token, 
value.data ()), tr ("getting a configuration item"));
[  104s]       |                    
~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[  104s] In file included from 
/home/abuild/rpmbuild/BUILD/wsjtx-2.7.0-build/wsjtx-2.7.0/Transceiver/HamlibTransceiver.cpp:14:
[  104s] /usr/include/hamlib/rig.h:2951:1: note: declared here
[  104s]  2951 | rig_get_conf HAMLIB_PARAMS((RIG *rig,
[  104s]       | ^~~~~~~~~~~~
[  104s] cc1plus: all warnings being treated as errors

Passes size of the QByteArray

Index: wsjtx-2.7.0/Transceiver/HamlibTransceiver.cpp
===================================================================
--- wsjtx-2.7.0.orig/Transceiver/HamlibTransceiver.cpp
+++ wsjtx-2.7.0/Transceiver/HamlibTransceiver.cpp
@@ -320,7 +320,7 @@ QByteArray HamlibTransceiver::impl::get_
   QByteArray value {128, '\0'};
   if (RIG_CONF_END != token)   // only get if valid for rig model
     {
-      error_check (rig_get_conf (rig_.data (), token, value.data ()), tr 
("getting a configuration item"));
+      error_check (rig_get_conf2 (rig_.data (), token, value.data (), 
value.size()), tr ("getting a configuration item"));
     }
   return value;
 }

Reply via email to