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); decal_text = gkrellm_create_decal_text(panel, "XX", ts, style, -1, -1, 0); - int string_w = gdk_string_width(decal_text->text_style.font, xkb_rules[active_group]); + int string_w = gdk_string_width((GdkFont *)decal_text->text_style.font, xkb_rules[active_group]); decal_text->x = loc_x + (flag_width/2) - (string_w/2); decal_text->y = loc_y + 2; gkrellm_draw_decal_text(panel, decal_text, xkb_rules[active_group], 0); But I do not really know the code, data structures nor the used API, so I do not dare to say that this is the correct approach, and I do not use the program myself so have no idea how to test if it is correct. The code in question come from debian.patch, so this is not an upstream issue. Found nothing on https://docs.gtk.org/Pango/struct.FontDescription.html about the relationship between GdkFont and PangoFontDescription. -- Happy hacking Petter Reinholdtsen