Control: tags 1096430 + pending Dear maintainer,
I've prepared an NMU for chasen (versioned as 2.4.5-46.1) and uploaded it to DELAYED/15. Please feel free to tell me if I should cancel it. cu Adrian
diffstat for chasen-2.4.5 chasen-2.4.5 changelog | 7 +++++++ patches/gcc-15.patch | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ patches/series | 1 + 3 files changed, 58 insertions(+) diff -Nru chasen-2.4.5/debian/changelog chasen-2.4.5/debian/changelog --- chasen-2.4.5/debian/changelog 2025-01-18 08:01:01.000000000 +0200 +++ chasen-2.4.5/debian/changelog 2025-10-21 12:28:38.000000000 +0300 @@ -1,3 +1,10 @@ +chasen (2.4.5-46.1) unstable; urgency=medium + + * Non-maintainer upload. + * Fix FTBFS with GCC 15, thanks to Florian Ernst. (Closes: #1096430) + + -- Adrian Bunk <[email protected]> Tue, 21 Oct 2025 12:28:38 +0300 + chasen (2.4.5-46) unstable; urgency=medium * debian/libchasen2.symbols: Add optinal LTO symbols, closes: #1015365 diff -Nru chasen-2.4.5/debian/patches/gcc-15.patch chasen-2.4.5/debian/patches/gcc-15.patch --- chasen-2.4.5/debian/patches/gcc-15.patch 1970-01-01 02:00:00.000000000 +0200 +++ chasen-2.4.5/debian/patches/gcc-15.patch 2025-10-21 12:28:38.000000000 +0300 @@ -0,0 +1,50 @@ +Description: Fix FTBFS with GCC 15 +Bug-Debian: https://bugs.debian.org/1096430 + +--- chasen-2.4.5.orig/lib/connect.c ++++ chasen-2.4.5/lib/connect.c +@@ -203,11 +203,11 @@ cha_check_table(lexicon_t * mrph) + + if (rensetu_tbl[0].hinsi == 0) + qsort(rensetu_tbl, tbl_num, sizeof(rensetu_pair_t), +- (int (*)()) cmp_pair); ++ (int (*)(const void *, const void *)) cmp_pair); + + ret = (rensetu_pair_t *) + bsearch(mrph, rensetu_tbl, tbl_num_goi, +- sizeof(rensetu_pair_t), (int (*)()) find_table); ++ sizeof(rensetu_pair_t), (int (*)(const void *, const void *)) find_table); + if (ret) { + mrph->con_tbl = ret->index; + return 1; +@@ -215,7 +215,7 @@ cha_check_table(lexicon_t * mrph) + + ret = (rensetu_pair_t *) + bsearch(mrph, rensetu_tbl + tbl_num_goi, tbl_num - tbl_num_goi, +- sizeof(rensetu_pair_t), (int (*)()) find_table); ++ sizeof(rensetu_pair_t), (int (*)(const void *, const void *)) find_table); + if (ret) { + mrph->con_tbl = ret->index; + return 1; /* if no error, return 1 */ +--- chasen-2.4.5.orig/lib/iotool.c ++++ chasen-2.4.5/lib/iotool.c +@@ -367,7 +367,7 @@ FILE * + cha_fopen_rcfile(void) + { + FILE *fp; +- char *home_dir, *rc_env, *getenv(); ++ char *home_dir, *rc_env; + + /* + * -R option (standard alone) +--- chasen-2.4.5.orig/lib/print.c ++++ chasen-2.4.5/lib/print.c +@@ -47,7 +47,7 @@ + static int path_buffer[CHA_INPUT_SIZE]; + static int pos_end = 0; + +-static void (*cha_putc) (), (*cha_puts) (), (*cha_printf) (), (*cha_write) (); ++static void (*cha_putc) (int, char*), (*cha_puts) (char*, char*), (*cha_printf) (char*, char*,...), (*cha_write) (void*, size_t, size_t, char*); + + void + cha_print_reset(void) diff -Nru chasen-2.4.5/debian/patches/series chasen-2.4.5/debian/patches/series --- chasen-2.4.5/debian/patches/series 2025-01-18 08:01:01.000000000 +0200 +++ chasen-2.4.5/debian/patches/series 2025-10-21 12:28:38.000000000 +0300 @@ -3,3 +3,4 @@ 0003-hide-darts-instance-symbols.patch 0004-hide-cpp-symbols.patch chasen-initialize-memory.patch +gcc-15.patch

