qsstv: update to 9.5.3.
This commit is contained in:
parent
7529eb6194
commit
6e5d24fbc0
2 changed files with 27 additions and 3 deletions
24
srcpkgs/qsstv/patches/hamlib42.patch
Normal file
24
srcpkgs/qsstv/patches/hamlib42.patch
Normal file
|
@ -0,0 +1,24 @@
|
|||
Index: rig/rigcontrol.cpp
|
||||
===================================================================
|
||||
--- rig/rigcontrol.cpp
|
||||
+++ rig/rigcontrol.cpp
|
||||
@@ -34,6 +34,10 @@
|
||||
|
||||
#define MAXCONFLEN 128
|
||||
|
||||
+#ifndef HAMLIB_FILPATHLEN
|
||||
+#define HAMLIB_FILPATHLEN FILEPATHLEN
|
||||
+#endif
|
||||
+
|
||||
|
||||
QList<const rig_caps *> capsList;
|
||||
bool radiolistLoaded=false;
|
||||
@@ -87,7 +91,7 @@ bool rigControl::init()
|
||||
}
|
||||
if(!catParams.serialPort.isEmpty())
|
||||
{
|
||||
- strncpy(my_rig->state.rigport.pathname,(const char *)catParams.serialPort.toLatin1().data(),FILPATHLEN-1);
|
||||
+ strncpy(my_rig->state.rigport.pathname,(const char *)catParams.serialPort.toLatin1().data(),HAMLIB_FILPATHLEN-1);
|
||||
}
|
||||
// strncpy(my_rig->state.pttport.pathname,(const char *)catParams.serialPort.toLatin1().data(),FILPATHLEN);
|
||||
my_rig->state.rigport.parm.serial.rate = catParams.baudrate;
|
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'qsstv'
|
||||
pkgname=qsstv
|
||||
version=9.4.4
|
||||
version=9.5.3
|
||||
revision=1
|
||||
wrksrc="${pkgname}_${version}"
|
||||
build_style=qmake
|
||||
|
@ -13,8 +13,8 @@ license="GPL-3.0-or-later"
|
|||
homepage="http://users.telenet.be/on4qz/qsstv/"
|
||||
changelog="http://users.telenet.be/on4qz/qsstv/manual/changelog.html"
|
||||
distfiles="http://users.telenet.be/on4qz/qsstv/downloads/qsstv_${version}.tar.gz"
|
||||
checksum=f1a3c2f5e97b2efc36893b36dda9a0852d7c51129436e586580c05e2b5e93039
|
||||
checksum=177e286090c71f8a033646b39c3b6abe212cc06718c1ecc9ddc7024198cb7e40
|
||||
|
||||
post_install() {
|
||||
vinstall qsstv/icons/qsstv.png 644 usr/share/pixmaps
|
||||
vinstall icons/qsstv.png 644 usr/share/pixmaps
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue