aboutsummaryrefslogtreecommitdiffstats
path: root/meta-gnome/recipes-gnome/gjs/gjs_1.58.8.bb
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2021-04-05 12:48:06 -0700
committerKhem Raj <raj.khem@gmail.com>2021-04-06 09:02:12 -0700
commit6f2099cf7806a7d00cdd3b4cda74e9e5574d0479 (patch)
tree478178ffd1b3595860668d2cc9256d35d95bc01d /meta-gnome/recipes-gnome/gjs/gjs_1.58.8.bb
parentad8c6ba3110ac345bb89ce4f6a1a98aa16502c81 (diff)
downloadmeta-openembedded-6f2099cf7806a7d00cdd3b4cda74e9e5574d0479.tar.gz
gjs: Fix build with gcc11
Partially backport an upstream fix to 1.58 Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Andreas Müller <schnitzeltony@gmail.com>
Diffstat (limited to 'meta-gnome/recipes-gnome/gjs/gjs_1.58.8.bb')
-rw-r--r--meta-gnome/recipes-gnome/gjs/gjs_1.58.8.bb4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta-gnome/recipes-gnome/gjs/gjs_1.58.8.bb b/meta-gnome/recipes-gnome/gjs/gjs_1.58.8.bb
index dbb04ef8e3..678ba9c4c8 100644
--- a/meta-gnome/recipes-gnome/gjs/gjs_1.58.8.bb
+++ b/meta-gnome/recipes-gnome/gjs/gjs_1.58.8.bb
@@ -12,7 +12,9 @@ DEPENDS = "mozjs gtk+3"
inherit gnomebase gsettings gobject-introspection vala gettext features_check upstream-version-is-even
SRC_URI[archive.sha256sum] = "7fb3eb746c17363d9ee47f4a5d0bb048f0075611763eb0da11d85e0e57aff381"
-SRC_URI += "file://0001-Disable-tests-on-host.patch"
+SRC_URI += "file://0001-Disable-tests-on-host.patch \
+ file://0001-maint-Avoid-g_once_init_enter-error-in-GCC-11.patch \
+"
# gobject-introspection is mandatory and cannot be configured
REQUIRED_DISTRO_FEATURES = "gobject-introspection-data"