Bug#1075007: gkrellm-xkb: ftbfs with GCC-14

2024-08-19 Thread Petter Reinholdtsen
Note, the crash bug in https://bugs.debian.org/676223 >, crashing in gdk_string_width() make me suspect the code is wrong and that a simple cast will not solve anything, only hide the problem from the compiler to allow a runtime crash for keyboard layouts where there is no flag available. -- Ha

Bug#1075007: gkrellm-xkb: ftbfs with GCC-14

2024-08-19 Thread Petter Reinholdtsen
I suspect the issue is GCC 14 refusing implicit casting of pointers, and that this patch can solve it: --- gkrellm-xkb-1.05.orig/main.c +++ gkrellm-xkb-1.05/main.c @@ -458,7 +458,7 @@ static void draw_flag(int redraw) { /* { ts_alt = gkrellm_meter_alt_textstyle(style_id);