File qsstv-hamlib-4.6.diff of Package qsstv

diff -urN qsstv-9.5.8+git20230505_orig/src/rig/rigcontrol.cpp qsstv-9.5.8+git20230505/src/rig/rigcontrol.cpp
--- qsstv-9.5.8+git20230505_orig/src/rig/rigcontrol.cpp	2022-10-26 09:53:03.769656892 +0200
+++ qsstv-9.5.8+git20230505/src/rig/rigcontrol.cpp	2023-11-25 10:43:49.666284993 +0100
@@ -41,13 +41,13 @@
 #endif
 
 
-QList<const rig_caps *> capsList;
+QList<rig_caps *> capsList;
 bool radiolistLoaded=false;
 
 
 
 
-int collect(const rig_caps *caps,rig_ptr_t)
+int collect(rig_caps *caps,rig_ptr_t)
 {
   capsList.append(caps);
   return 1;
@@ -370,7 +370,7 @@
   return -1;
 }
 
-bool model_Sort(const rig_caps *caps1,const rig_caps *caps2)
+bool model_Sort(rig_caps *caps1,rig_caps *caps2)
 {
   if(caps1->mfg_name==caps2->mfg_name)
     {
diff -urN qsstv-9.5.8+git20230505_orig/src/rig/rigcontrol.h qsstv-9.5.8+git20230505/src/rig/rigcontrol.h
--- qsstv-9.5.8+git20230505_orig/src/rig/rigcontrol.h	2022-10-26 09:53:03.769656892 +0200
+++ qsstv-9.5.8+git20230505/src/rig/rigcontrol.h	2023-11-25 10:52:33.611266305 +0100
@@ -14,7 +14,7 @@
 
 
 
-bool model_Sort(const rig_caps *caps1,const rig_caps *caps2);
+bool model_Sort(rig_caps *caps1, rig_caps *caps2);
 
 struct scatParams
 {
openSUSE Build Service is sponsored by