hamlib: update to 4.2.

Signed-off-by: Abigail G <dev@kb6.ee>
This commit is contained in:
Abigail G 2021-06-07 19:46:27 -04:00 committed by Érico Nogueira Rolim
parent 3e26450b84
commit 61ec7655c7
3 changed files with 16 additions and 6 deletions

View file

@ -3522,8 +3522,8 @@ libfstrcmp.so.0 libfstrcmp-0.7.D001_1
libUMP.so.3 libump-git-20181122_2
libdri2.so.1 libdri2-git-20140317_2
libpst.so.4 libpst-0.6.72_1
libhamlib.so.2 hamlib-3.3_1
libhamlib++.so.2 hamlib-3.3_1
libhamlib.so.4 hamlib-4.2_1
libhamlib++.so.4 hamlib-4.2_1
libnss_mdns_minimal.so.2 nss-mdns-0.14.1_1
libnss_mdns4_minimal.so.2 nss-mdns-0.14.1_1
libnss_mdns6_minimal.so.2 nss-mdns-0.14.1_1

View file

@ -0,0 +1,11 @@
Index: rigs/prm80/prm80.h
===================================================================
--- rigs/prm80/prm80.h
+++ rigs/prm80/prm80.h
@@ -23,6 +23,7 @@
#define _PRM80_H 1
#include <hamlib/rig.h>
+#include <sys/time.h> /* for timeval */
#define BACKEND_VER "20210416"

View file

@ -1,11 +1,10 @@
# Template file for 'hamlib'
pkgname=hamlib
version=3.3
revision=5
version=4.2
revision=1
build_style=gnu-configure
configure_args="--disable-static --with-perl-binding --with-python-binding
--with-tcl-binding --with-xml-support"
pycompile_module="Hamlib.py"
hostmakedepends="automake libtool pkg-config python3 swig"
makedepends="gettext-devel libusb-devel libxml2-devel python3-devel readline-devel
tcl-devel"
@ -15,7 +14,7 @@ maintainer="bra1nwave <brainwave@openmailbox.org>"
license="LGPL-2.1-or-later, GPL-2.0-or-later"
homepage="https://sourceforge.net/projects/hamlib/"
distfiles="${SOURCEFORGE_SITE}/hamlib/${version}/${pkgname}-${version}.tar.gz"
checksum=c90b53949c767f049733b442cd6e0a48648b55d99d4df5ef3f852d985f45e880
checksum=e200b22f307e9a0c826187c2b08fe81c7d0283cf07056e6db3463d1481580fd5
pre_configure() {
CFLAGS+=" -DNO_POSIX_2008_LOCALE -D_GNU_SOURCE"