hamlib: update to 4.6.1.

This commit is contained in:
classabbyamp 2025-01-25 00:22:04 -05:00
parent 279ad84dd3
commit 7ec1c2e0d1
No known key found for this signature in database
GPG key ID: 6BE0755918A4C7F5
4 changed files with 14 additions and 25 deletions

View file

@ -1,12 +0,0 @@
upstreamed in Hamlib/Hamlib#1024
--- a/rigs/prm80/prm80.h
+++ b/rigs/prm80/prm80.h
@@ -23,6 +23,7 @@
#define _PRM80_H 1
#include <hamlib/rig.h>
+#include <sys/time.h>
#include "misc.h"
#define BACKEND_VER "20210416"

View file

@ -1,10 +0,0 @@
--- a/tests/memload.c
+++ b/tests/memload.c
@@ -22,6 +22,7 @@
#include <hamlib/config.h>
#include <hamlib/rig.h>
+#include <stdlib.h>
#include "misc.h"
#ifdef HAVE_XML2

View file

@ -0,0 +1,11 @@
--- hamlib-4.6.orig/rigs/kenwood/kenwood.h
+++ hamlib-4.6/rigs/kenwood/kenwood.h
@@ -183,7 +183,7 @@
int save_k2_ext_lvl; // so we can restore to original
int save_k3_ext_lvl; // so we can restore to original -- for future use if needed
int voice_bank; /* last voice bank send for use by stop_voice_mem */
- mode_t last_mode_pc; // last mode memory for PC command
+ rmode_t last_mode_pc; // last mode memory for PC command
int power_now,power_min,power_max;
};

View file

@ -1,7 +1,7 @@
# Template file for 'hamlib'
pkgname=hamlib
version=4.5.5
revision=3
version=4.6.1
revision=1
build_style=gnu-configure
configure_args="--disable-static --with-perl-binding --with-python-binding
--with-tcl-binding --with-xml-support"
@ -15,7 +15,7 @@ license="LGPL-2.1-or-later, GPL-2.0-or-later"
homepage="https://hamlib.github.io"
changelog="https://raw.githubusercontent.com/Hamlib/Hamlib/master/NEWS"
distfiles="https://github.com/Hamlib/Hamlib/releases/download/${version}/hamlib-${version}.tar.gz"
checksum=601c89f32ed225e9527ade3d64d0d05d23202c05ae21ffa77e59d70ee4597fcd
checksum=0822f59fdda0e40283eb55d94c64fc92e608ec9985414acae93d122fa83dacd4
CFLAGS="-DNO_POSIX_2008_LOCALE -D_GNU_SOURCE"