head 1.2; access; symbols; locks; strict; comment @ * @; 1.2 date 2026.07.10.23.32.37; author tsutsui; state Exp; branches; next 1.1; commitid XXwM2i2aAbK8faNG; 1.1 date 2026.06.28.06.16.28; author tsutsui; state Exp; branches; next ; commitid J1Yf621yszsDTwLG; desc @@ 1.2 log @ja-freewnn-*: make FreeWnn-1.1.1-a023 builds with gcc 15 - various fixes to use proper function prototypes for C23 - use proper function types for signal handlers - use proper variadic arguments to print messages using printf formats - fix test programs in configure.in and regen configure using autoconf 2.72 for modern C23 compilers - appease more several warnings - also apply fixes to build FreeWnn on recent Linux distributions: - set LC_ALL=C before egrep(1) against EUC files to avoid unexpected errors for EUC files - use _DEFAULT_SOURCE for Linux rather than obsolete _BSD_SOURCE for newer glibc - update several patch comments properly to clarify each fix - gcc 14 enables -Werror=incompatible-pointer-types by default but still uses -std=gnu17 by default - gcc 15 has switched to -std=gnu23 by default so that old K&R style function declarations ("no argument" is treated as "void") cause more incompatible-pointer-types and too-many-arguments errors - remove patches against sources under Xwnmo that seems unmaintained (no configure settings) and not enabled by the default builds Bump PKGREVISIONs. @ text @$NetBSD: patch-Wnn_jutil_atorev.c,v 1.1 2026/06/28 06:16:28 tsutsui Exp $ - Remove unnecessary old-style function prototypes --- Wnn/jutil/atorev.c.orig 2013-09-02 11:01:39.000000000 +0000 +++ Wnn/jutil/atorev.c @@@@ -58,15 +58,11 @@@@ extern int kanjicount; extern struct JT jt; -static void set_rpter1 (); static void r_alloc FRWNN_PARAMS((void)); static void make_ri2 FRWNN_PARAMS((void)); static void make_ri1 FRWNN_PARAMS((int)); static void set_rpter1 FRWNN_PARAMS((int)); -extern int sort_func_je (); -extern void sort_kanji (); - struct je **ptmp; void @ 1.1 log @ja-freewnn-{lib,server}: fix builds with gcc 14 and later - Add necessary standard headers to pull proper prototypes in test programs in the generated configure script to avoid errors caused by -Wimplicit-function-declaration (which is fatal on -std=gnu23) - Use proper qsort(3)-compatible comparator prototypes - Add missing prototypes for several function pointer arguments - Fix other -Wimcompatiple-pointer-types warnings - Appease several -Wpointer-compare and -Wpointer-sign warnings - Move -Wchar-subscripts fixes from SUBST to explicit patch files - Also fix wnn_sStrncpy() to use the correct conversion direction (found during -Wincompatiple-pointer-types cleanup) While here, take MAINTAINERship. Bump PKGREVISIONs. @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 - Fix build with -std=gnu23 (i.e. gcc14 and later) d5 1 a5 1 --- Wnn/jutil/atorev.c.orig 2026-06-23 14:01:43.991289584 +0000 d7 7 a13 1 @@@@ -64,9 +64,6 @@@@ static void make_ri2 FRWNN_PARAMS((void) @