diff options
author | Markus Volk <f_l_k@t-online.de> | 2024-05-21 19:36:11 +0200 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2024-05-23 08:44:43 -0700 |
commit | fe19113d0b2b4f8b7dfb83698eb6c89a1872ee05 (patch) | |
tree | 7d147fbca8749ac45e5c330caa82e66ec2809e39 /meta-gnome | |
parent | 805aaefe7778edd510112d96f3cd6634748ea576 (diff) | |
download | meta-openembedded-contrib-fe19113d0b2b4f8b7dfb83698eb6c89a1872ee05.tar.gz |
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>
Diffstat (limited to 'meta-gnome')
-rw-r--r-- | meta-gnome/dynamic-layers/meta-virtualization/recipes-gnome/gnome-boxes/gnome-boxes_46.1.bb | 2 |
1 files changed, 2 insertions, 0 deletions
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" |