From 61ec7655c79a8265ecf7b4066bbbb0a2e4fec552 Mon Sep 17 00:00:00 2001 From: Abigail G Date: Mon, 7 Jun 2021 19:46:27 -0400 Subject: [PATCH] hamlib: update to 4.2. Signed-off-by: Abigail G --- common/shlibs | 4 ++-- srcpkgs/hamlib/patches/fix-musl.patch | 11 +++++++++++ srcpkgs/hamlib/template | 7 +++---- 3 files changed, 16 insertions(+), 6 deletions(-) create mode 100644 srcpkgs/hamlib/patches/fix-musl.patch diff --git a/common/shlibs b/common/shlibs index 6eddee13b8..91221e6cff 100644 --- a/common/shlibs +++ b/common/shlibs @@ -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 diff --git a/srcpkgs/hamlib/patches/fix-musl.patch b/srcpkgs/hamlib/patches/fix-musl.patch new file mode 100644 index 0000000000..a5aed42e07 --- /dev/null +++ b/srcpkgs/hamlib/patches/fix-musl.patch @@ -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 ++#include /* for timeval */ + + #define BACKEND_VER "20210416" diff --git a/srcpkgs/hamlib/template b/srcpkgs/hamlib/template index 63033abd82..086b6c614c 100644 --- a/srcpkgs/hamlib/template +++ b/srcpkgs/hamlib/template @@ -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 " 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"