mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-16 22:27:02 +02:00
hamlib: update to 4.6.1.
This commit is contained in:
parent
279ad84dd3
commit
7ec1c2e0d1
4 changed files with 14 additions and 25 deletions
|
@ -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"
|
|
@ -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
|
11
srcpkgs/hamlib/patches/kenwood-mode.patch
Normal file
11
srcpkgs/hamlib/patches/kenwood-mode.patch
Normal 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;
|
||||
};
|
||||
|
|
@ -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"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue