pkgsrc/ham/xlog/patches/patch-src_logfile_editest_c
gdt 2e958dc355 ham/xlog: Update to 2.0.20
pkgsrc changes:
  - drop workaround for upstream bug fixed in this release
  - rename patchfile per pkglint

- Changes for xlog version 2.0.20 - 2021-jan-30
  * Updated cty.dat 20210127 (cty-3102)
  * Added FST4 support and 5m/8m bands for ADIF 3.1.1
  * Added /dev/ttyUSB0 and /dev/ttyUSB1 to the hamlib device menu
  * Logeditor can hide TX(RST) and RX (RST) (useful for VHF contests)
  * ADIF exports Distance and Azimuth correctly if enabled in Logeditor
  * Imports ADIF from wsjt-x on UDP port 2333
  * Fixed use-after-free error discovered by Chris K2CR and valgrind
  * Fixed hash-table != null assert in dxcc.c
  * Fixed GLib-GObject-WARNING in log.c
  * Compiles cleanly with hamlib4 on ubuntu 18.04 and 20.04
2021-02-04 14:10:07 +00:00

15 lines
598 B
Text

$NetBSD: patch-src_logfile_editest_c,v 1.1 2021/02/04 14:10:07 gdt Exp $
error: array subscript has type 'char' [-Werror=char-subscripts]
--- src/logfile/editest.c~ 2012-11-04 00:46:05.000000000 +0900
+++ src/logfile/editest.c 2014-11-17 20:26:23.000000000 +0900
@@ -268,7 +268,7 @@ editest_qso_foreach (LOGDB * handle,
break;
case LOCATOR:
/* HF logs don't have locator, but useless NR */
- qfield = g_strdup ( isalpha(field[0]) ? field : "");
+ qfield = g_strdup ( isalpha((unsigned char) field[0]) ? field : "");
break;
default:
qfield = g_strdup (field);