pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/ham/gmfsk



Module Name:    pkgsrc
Committed By:   mef
Date:           Thu Jan 27 04:19:18 UTC 2022

Modified Files:
        pkgsrc/ham/gmfsk: distinfo
Added Files:
        pkgsrc/ham/gmfsk/patches: patch-src_hamlib.c

Log Message:
(ham/gmfsk) add patch for FILPATHLEN became HAMLIB_FILPATHLEN in hamlib 4.2


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 pkgsrc/ham/gmfsk/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/ham/gmfsk/patches/patch-src_hamlib.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/ham/gmfsk/distinfo
diff -u pkgsrc/ham/gmfsk/distinfo:1.9 pkgsrc/ham/gmfsk/distinfo:1.10
--- pkgsrc/ham/gmfsk/distinfo:1.9       Tue Oct 26 10:48:38 2021
+++ pkgsrc/ham/gmfsk/distinfo   Thu Jan 27 04:19:18 2022
@@ -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-ac) = a936811e68d84ddb286f56
 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

Added files:

Index: pkgsrc/ham/gmfsk/patches/patch-src_hamlib.c
diff -u /dev/null pkgsrc/ham/gmfsk/patches/patch-src_hamlib.c:1.1
--- /dev/null   Thu Jan 27 04:19:18 2022
+++ pkgsrc/ham/gmfsk/patches/patch-src_hamlib.c Thu Jan 27 04:19:18 2022
@@ -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