From fe19113d0b2b4f8b7dfb83698eb6c89a1872ee05 Mon Sep 17 00:00:00 2001 From: Markus Volk Date: Tue, 21 May 2024 19:36:11 +0200 Subject: [PATCH] gnome-boxes: fix build with gcc14 Workaround for int-conversion: | In file included from ../recipe-sysroot/usr/include/glib-2.0/glib.h:64, | from ../recipe-sysroot/usr/include/glib-2.0/gobject/gbinding.h:30, | from ../recipe-sysroot/usr/include/glib-2.0/glib-object.h:24, | from src/gnome-boxes.p/libvirt-broker.c:6: | src/gnome-boxes.p/libvirt-broker.c: In function 'boxes_libvirt_broker_add_domain_co': | ../recipe-sysroot/usr/include/glib-2.0/glib/gmessages.h:671:16: error: returning 'void *' from a function with return type 'gboolean' {aka 'int'} makes integer from pointer without a cast [-Wint-conversion] Signed-off-by: Markus Volk Signed-off-by: Khem Raj --- .../recipes-gnome/gnome-boxes/gnome-boxes_46.1.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta-gnome/dynamic-layers/meta-virtualization/recipes-gnome/gnome-boxes/gnome-boxes_46.1.bb b/meta-gnome/dynamic-layers/meta-virtualization/recipes-gnome/gnome-boxes/gnome-boxes_46.1.bb index 9ad15d57ac..6272065de6 100644 --- a/meta-gnome/dynamic-layers/meta-virtualization/recipes-gnome/gnome-boxes/gnome-boxes_46.1.bb +++ b/meta-gnome/dynamic-layers/meta-virtualization/recipes-gnome/gnome-boxes/gnome-boxes_46.1.bb @@ -36,6 +36,8 @@ SRC_URI[archive.sha256sum] = "900c177f6762640370a6634cf9e7d3cd8207e498367a8a667a GIR_MESON_OPTION = "" VALA_MESON_OPTION = "" +CFLAGS += "-Wno-int-conversion" + FILES:${PN} += "${datadir}" INSANE_SKIP:${PN} = "dev-deps"