From 6e5d24fbc0e826d1d05540b2fa188191f786d181 Mon Sep 17 00:00:00 2001 From: Abigail G Date: Mon, 7 Jun 2021 19:46:45 -0400 Subject: [PATCH] qsstv: update to 9.5.3. --- srcpkgs/qsstv/patches/hamlib42.patch | 24 ++++++++++++++++++++++++ srcpkgs/qsstv/template | 6 +++--- 2 files changed, 27 insertions(+), 3 deletions(-) create mode 100644 srcpkgs/qsstv/patches/hamlib42.patch diff --git a/srcpkgs/qsstv/patches/hamlib42.patch b/srcpkgs/qsstv/patches/hamlib42.patch new file mode 100644 index 00000000000..a4608969575 --- /dev/null +++ b/srcpkgs/qsstv/patches/hamlib42.patch @@ -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 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; diff --git a/srcpkgs/qsstv/template b/srcpkgs/qsstv/template index 0431df48934..73c1080fcad 100644 --- a/srcpkgs/qsstv/template +++ b/srcpkgs/qsstv/template @@ -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 }