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 <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Markus Volk 2024-05-21 19:36:11 +02:00 committed by Khem Raj
parent 805aaefe77
commit fe19113d0b
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -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"