This is a diff for comms/xlog logging program to update hamlib-4.4. it can support older hamlib.
fldigi and gpsk31 is is no problem to update hamlib. gpsk31 is no longer supported (already in Attic). -- SASANO Takayoshi (JG1UAA) <[email protected]> Index: Makefile =================================================================== RCS file: /cvs/ports/comms/xlog/Makefile,v retrieving revision 1.31 diff -u -p -u -p -r1.31 Makefile --- Makefile 26 Jan 2020 11:14:30 -0000 1.31 +++ Makefile 2 Jan 2022 11:29:56 -0000 @@ -4,7 +4,7 @@ COMMENT= logbook program for amateur ra DISTNAME= xlog-2.0.15 CATEGORIES= comms hamradio -REVISION= 1 +REVISION= 2 HOMEPAGE= http://www.nongnu.org/xlog/ Index: patches/patch-src_hamlib-utils_c =================================================================== RCS file: patches/patch-src_hamlib-utils_c diff -N patches/patch-src_hamlib-utils_c --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ patches/patch-src_hamlib-utils_c 2 Jan 2022 11:29:56 -0000 @@ -0,0 +1,22 @@ +--- src/hamlib-utils.c.orig Fri Dec 30 04:02:44 2016 ++++ src/hamlib-utils.c Sun Jan 2 20:24:36 2022 +@@ -45,6 +45,10 @@ + #include "../data/pixmaps/s8.xpm" + #include "../data/pixmaps/s9.xpm" + ++#ifndef HAMLIB_FILPATHLEN ++#define HAMLIB_FILPATHLEN FILPATHLEN ++#endif ++ + struct rig_id { + const gint modelnr; + const gchar *modelname; +@@ -168,7 +172,7 @@ start_hamlib (gint rigid, gchar *device, gint debugmod + update_statusbar (temp); + } + } +- strncpy (myrig->state.rigport.pathname, device, FILPATHLEN); ++ strncpy (myrig->state.rigport.pathname, device, HAMLIB_FILPATHLEN); + retcode = rig_open (myrig); + if (retcode != RIG_OK) + {
