From 437e4f278bafaffc3f9287b247bc390262f62bc2 Mon Sep 17 00:00:00 2001 From: spycat88 Date: Sun, 16 Nov 2025 17:48:44 +0000 Subject: [PATCH] gtk2: fix building with gcc15 --- .../gtk2/patches/003-fix-building-with-gcc15.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 projects/ROCKNIX/packages/graphics/gtk2/patches/003-fix-building-with-gcc15.patch 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 = "";