diff --git a/projects/ROCKNIX/packages/graphics/gtk2/patches/003-fix-building-with-gcc15.patch b/projects/ROCKNIX/packages/graphics/gtk2/patches/003-fix-building-with-gcc15.patch new file mode 100644 index 0000000000..7c95975bf1 --- /dev/null +++ b/projects/ROCKNIX/packages/graphics/gtk2/patches/003-fix-building-with-gcc15.patch @@ -0,0 +1,11 @@ +--- a/gtk/gtkitemfactory.c ++++ b/gtk/gtkitemfactory.c +@@ -1184,7 +1184,7 @@ + + entry.path = path; + entry.accelerator = entries[i].accelerator; +- entry.callback = entries[i].callback; ++ entry.callback = (GtkItemFactoryCallback) entries[i].callback; + entry.callback_action = 0; + if (g_pattern_match_string (pspec_separator, path)) + entry.item_type = "";