diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2023-01-04 12:04:32 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-01-06 12:03:47 +0000 |
commit | 8f2f684586044f801bf46bfb1cebab5250111bda (patch) | |
tree | facfc1982192cff9007962ef7dcc64e1f0c7a20a /meta/recipes-core | |
parent | f544333715a36f4149a4ed8bcd3b69253abbad4a (diff) | |
download | poky-8f2f684586044f801bf46bfb1cebab5250111bda.tar.gz |
glib-2.0: upgrade 2.74.3 -> 2.74.4
(From OE-Core rev: f9e3169fea23a7300e8cab2862610c776de4ead3)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r-- | meta/recipes-core/glib-2.0/glib-2.0/fix-errno.patch | 31 | ||||
-rw-r--r-- | meta/recipes-core/glib-2.0/glib-2.0/relocate-modules.patch | 4 | ||||
-rw-r--r-- | meta/recipes-core/glib-2.0/glib-2.0_2.74.4.bb (renamed from meta/recipes-core/glib-2.0/glib-2.0_2.74.3.bb) | 3 |
3 files changed, 35 insertions, 3 deletions
diff --git a/meta/recipes-core/glib-2.0/glib-2.0/fix-errno.patch b/meta/recipes-core/glib-2.0/glib-2.0/fix-errno.patch new file mode 100644 index 0000000000..144fe8bbd8 --- /dev/null +++ b/meta/recipes-core/glib-2.0/glib-2.0/fix-errno.patch | |||
@@ -0,0 +1,31 @@ | |||
1 | From 6626765a79f125cf0ec9cdaefa51ceef718d41e7 Mon Sep 17 00:00:00 2001 | ||
2 | From: Michael Catanzaro <mcatanzaro@redhat.com> | ||
3 | Date: Tue, 20 Dec 2022 17:10:41 -0600 | ||
4 | Subject: [PATCH] gthread-posix: need to #include <errno.h> | ||
5 | |||
6 | a79c6af23eff5ee978db62e048828c9a992a1261 uses errno without the required | ||
7 | header. | ||
8 | |||
9 | |||
10 | (cherry picked from commit 03cb4261e00cf505790f4fd4e69f97b2ef4fcccd) | ||
11 | |||
12 | Upstream-Status: Backport [https://gitlab.gnome.org/GNOME/glib/-/commit/6626765a79f125cf0ec9cdaefa51ceef718d41e7] | ||
13 | Signed-off-by: Alexander Kanavin <alex@linutronix.de> | ||
14 | --- | ||
15 | glib/gthreadprivate.h | 1 + | ||
16 | 1 file changed, 1 insertion(+) | ||
17 | |||
18 | diff --git a/glib/gthreadprivate.h b/glib/gthreadprivate.h | ||
19 | index 6eaf422753..f34368a7c2 100644 | ||
20 | --- a/glib/gthreadprivate.h | ||
21 | +++ b/glib/gthreadprivate.h | ||
22 | @@ -41,6 +41,7 @@ struct _GRealThread | ||
23 | /* system thread implementation (gthread-posix.c, gthread-win32.c) */ | ||
24 | |||
25 | #if defined(HAVE_FUTEX) || defined(HAVE_FUTEX_TIME64) | ||
26 | +#include <errno.h> | ||
27 | #include <linux/futex.h> | ||
28 | #include <sys/syscall.h> | ||
29 | #include <unistd.h> | ||
30 | -- | ||
31 | GitLab | ||
diff --git a/meta/recipes-core/glib-2.0/glib-2.0/relocate-modules.patch b/meta/recipes-core/glib-2.0/glib-2.0/relocate-modules.patch index 7723ac6672..168dc73290 100644 --- a/meta/recipes-core/glib-2.0/glib-2.0/relocate-modules.patch +++ b/meta/recipes-core/glib-2.0/glib-2.0/relocate-modules.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 0da0b608fdbb144c39225233cbdd89995b76904b Mon Sep 17 00:00:00 2001 | 1 | From 2adfd458507c8c832955d6ffb9408d6c574b94f6 Mon Sep 17 00:00:00 2001 |
2 | From: Ross Burton <ross.burton@intel.com> | 2 | From: Ross Burton <ross.burton@intel.com> |
3 | Date: Fri, 11 Mar 2016 15:35:55 +0000 | 3 | Date: Fri, 11 Mar 2016 15:35:55 +0000 |
4 | Subject: [PATCH] glib-2.0: relocate the GIO module directory for native builds | 4 | Subject: [PATCH] glib-2.0: relocate the GIO module directory for native builds |
@@ -19,7 +19,7 @@ Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> | |||
19 | 1 file changed, 11 insertions(+), 1 deletion(-) | 19 | 1 file changed, 11 insertions(+), 1 deletion(-) |
20 | 20 | ||
21 | diff --git a/gio/giomodule.c b/gio/giomodule.c | 21 | diff --git a/gio/giomodule.c b/gio/giomodule.c |
22 | index f5dbb4555..c926e77a8 100644 | 22 | index f5dbb45..c926e77 100644 |
23 | --- a/gio/giomodule.c | 23 | --- a/gio/giomodule.c |
24 | +++ b/gio/giomodule.c | 24 | +++ b/gio/giomodule.c |
25 | @@ -58,6 +58,8 @@ | 25 | @@ -58,6 +58,8 @@ |
diff --git a/meta/recipes-core/glib-2.0/glib-2.0_2.74.3.bb b/meta/recipes-core/glib-2.0/glib-2.0_2.74.4.bb index 8f66fd9581..e5279e946c 100644 --- a/meta/recipes-core/glib-2.0/glib-2.0_2.74.3.bb +++ b/meta/recipes-core/glib-2.0/glib-2.0_2.74.4.bb | |||
@@ -18,10 +18,11 @@ SRC_URI = "${GNOME_MIRROR}/glib/${SHRT_VER}/glib-${PV}.tar.xz \ | |||
18 | file://0001-gio-tests-meson.build-do-not-use-can_run_host_binari.patch \ | 18 | file://0001-gio-tests-meson.build-do-not-use-can_run_host_binari.patch \ |
19 | file://cpp-null.patch \ | 19 | file://cpp-null.patch \ |
20 | file://cpp-null2.patch \ | 20 | file://cpp-null2.patch \ |
21 | file://fix-errno.patch \ | ||
21 | " | 22 | " |
22 | SRC_URI:append:class-native = " file://relocate-modules.patch" | 23 | SRC_URI:append:class-native = " file://relocate-modules.patch" |
23 | 24 | ||
24 | SRC_URI[sha256sum] = "e9bc41ecd9690d9bc6a970cc7380119b828e5b6a4b16c393c638b3dc2b87cbcb" | 25 | SRC_URI[sha256sum] = "0e82da5ea129b4444227c7e4a9e598f7288d1994bf63f129c44b90cfd2432172" |
25 | 26 | ||
26 | # Find any meson cross files in FILESPATH that are relevant for the current | 27 | # Find any meson cross files in FILESPATH that are relevant for the current |
27 | # build (using siteinfo) and add them to EXTRA_OEMESON. | 28 | # build (using siteinfo) and add them to EXTRA_OEMESON. |