pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/ham/gmfsk (ham/gmfsk) add patch for FILPATHLEN became ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/9ff5b817b5b9
branches: trunk
changeset: 372543:9ff5b817b5b9
user: mef <mef%pkgsrc.org@localhost>
date: Thu Jan 27 04:19:18 2022 +0000
description:
(ham/gmfsk) add patch for FILPATHLEN became HAMLIB_FILPATHLEN in hamlib 4.2
diffstat:
ham/gmfsk/distinfo | 3 ++-
ham/gmfsk/patches/patch-src_hamlib.c | 17 +++++++++++++++++
2 files changed, 19 insertions(+), 1 deletions(-)
diffs (38 lines):
diff -r 0ebd446bb9df -r 9ff5b817b5b9 ham/gmfsk/distinfo
--- a/ham/gmfsk/distinfo Thu Jan 27 03:58:34 2022 +0000
+++ b/ham/gmfsk/distinfo Thu Jan 27 04:19:18 2022 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.9 2021/10/26 10:48:38 nia Exp $
+$NetBSD: distinfo,v 1.10 2022/01/27 04:19:18 mef Exp $
BLAKE2s (gmfsk-0.6.tar.gz) = d4b9fdb79d9f4e822d792d1de9da681db19accc29ab0ebd6ba0354ed7689bb26
SHA512 (gmfsk-0.6.tar.gz) = e4312832ffd463673210fb05bd3c686e72621ac3e3318c6dac27ff23d810bbfb17d50f76cf5c7313fc40d02a89eb502b9290f4dd69f140306eaff6c1fe6fe6ea
@@ -9,6 +9,7 @@
SHA1 (patch-ad) = dbdb75d3c1d617ead1903d6645dd83c930a37a7b
SHA1 (patch-ae) = 57048286392c811170f8519078e95fa89c06f3ee
SHA1 (patch-af) = 5edcf28f17b4255d67d9df103eb70980e7f3e397
+SHA1 (patch-src_hamlib.c) = 91d98d20c8482f13d7aafc278545de890fda3235
SHA1 (patch-src_misc_cmplx.h) = b429594c6eb4d2821030fbea2ab1546aa9a01173
SHA1 (patch-src_misc_filter-i386.h) = 71c7e1092fc9b4680d2c89c0ecdf4d8933abaf14
SHA1 (patch-src_misc_filter.h) = 54acabd541e68e8363a5169f631a1966f8c850ba
diff -r 0ebd446bb9df -r 9ff5b817b5b9 ham/gmfsk/patches/patch-src_hamlib.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/ham/gmfsk/patches/patch-src_hamlib.c Thu Jan 27 04:19:18 2022 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-src_hamlib.c,v 1.1 2022/01/27 04:19:18 mef Exp $
+
+hamlib.c:325:45: error: 'FILPATHLEN' undeclared
+
+--- src/hamlib.c.orig 2004-04-16 22:30:12.000000000 +0900
++++ src/hamlib.c 2022-01-27 13:15:02.849148846 +0900
+@@ -322,8 +322,8 @@ void hamlib_init(void)
+ }
+ g_free(conf);
+
+- strncpy(rig->state.rigport.pathname, port, FILPATHLEN);
+- rig->state.rigport.pathname[FILPATHLEN - 1] = 0;
++ strncpy(rig->state.rigport.pathname, port, HAMLIB_FILPATHLEN);
++ rig->state.rigport.pathname[HAMLIB_FILPATHLEN - 1] = 0;
+
+ if (rig->caps->port_type == RIG_PORT_SERIAL)
+ rig->state.rigport.parm.serial.rate = speed;
Home |
Main Index |
Thread Index |
Old Index