summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2022-04-27 10:40:00 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-05-04 13:07:33 +0100
commitbdbca4b3af3c08a91bb6ab9a01f810fcbb48a2ee (patch)
tree06a0c7c3e05516d0e2e0d41ff4ec88fc8a213008
parent275c29d930842ce50157976010185e54c14a2dc6 (diff)
downloadpoky-bdbca4b3af3c08a91bb6ab9a01f810fcbb48a2ee.tar.gz
glib: upgrade 2.72.0 -> 2.72.1
Bug fix release Overview of changes in GLib 2.72.1 Fix building projects which use g_warning_once() with clang++ (#2625) Fix g_file_trash() not deleting directories via the portals backend (work by Matthias Clasen) (#2629) A number more compiler warnings fixed for MSVC (work by Loïc Le Page) (!2495) Fix detection of broken poll() function on macOS (work by Haruka Ma) (!2571) Fix spawning subprocesses from GUI programs on Windows (work by Marc-André Lureau) (!2582) Bugs fixed: 2312 gdbus-test-codegen tests leak GWeakRef objects 2625 g_warning_once fails to build with clang++ 2629 g_file_trash() does not work on directories inside a sandbox 2495 Cleanup warnings split 6 2499 Various contenttype-related test fixes on win32 2534 gpowerprofilemonitor: Tweak wording of documentation to make more sense 2540 Various win32 tests skip & fixes 2541 meson: simplify lookup of python command 2543 ci: Update the Fedora CI image to Fedora 34 2556 gdbusconnection: Use g_strv_contains() rather than a home-grown version 2557 gdbusmethodinvocation: Fix a leak on an early return path 2558 Move unit test on g_basename() function to glib/tests/fileutils.c 2559 Move tests/relation-test.c to glib/tests/relation.c 2560 ci: Update Coverity, mingw and Android CI images to Fedora 34 2563 glib: Format GDateTime ISO8601 years as %C%y 2564 Move test files on slices from tests/ to glib/tests/ 2566 tests: Add more tests for GResolver response parsing 2573 Backport translation fixes and !2571 “meson: Set BROKEN_POLL in macOS builds” to glib-2-72 2574 Backport !2565 “Revert "meson: simplify lookup of python command"” to glib-2-72 2587 Backport !2583 “Fix trashing sandboxed directories” to glib-2-72 2588 Backport !2582 “glib/win32: fix spawn from GUI regression” to glib-2-72 2590 Backport !2589 “tests: Don’t exit gdbus-method-invocation test early on connection close” to glib-2-72 2593 Backport !2578 “gatomic: Add a C++ variant of g_atomic_int_compare_and_exchange()” to glib-2-72 Translation updates: Bulgarian Catalan Indonesian Italian Lithuanian Polish Portuguese Russian Slovenian Swedish Turkish Ukrainian (From OE-Core rev: d8222529a1caa2703ed296d8a8274983e738cefc) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit e167060bfb105799e0931c06a6aa1275163bf261) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-core/glib-2.0/glib-2.0/0001-tests-Add-C-tests-for-typechecking-with-atomic-compa.patch64
-rw-r--r--meta/recipes-core/glib-2.0/glib-2.0/0002-gatomic-Add-a-C-variant-of-g_atomic_int_compare_and_.patch70
-rw-r--r--meta/recipes-core/glib-2.0/glib-2.0/Enable-more-tests-while-cross-compiling.patch32
-rw-r--r--meta/recipes-core/glib-2.0/glib-2.0/relocate-modules.patch8
-rw-r--r--meta/recipes-core/glib-2.0/glib-2.0_2.72.1.bb (renamed from meta/recipes-core/glib-2.0/glib-2.0_2.72.0.bb)4
5 files changed, 20 insertions, 158 deletions
diff --git a/meta/recipes-core/glib-2.0/glib-2.0/0001-tests-Add-C-tests-for-typechecking-with-atomic-compa.patch b/meta/recipes-core/glib-2.0/glib-2.0/0001-tests-Add-C-tests-for-typechecking-with-atomic-compa.patch
deleted file mode 100644
index 4842f462e1..0000000000
--- a/meta/recipes-core/glib-2.0/glib-2.0/0001-tests-Add-C-tests-for-typechecking-with-atomic-compa.patch
+++ /dev/null
@@ -1,64 +0,0 @@
1From 44b4bcd56d7ac2bd8ebf00e9fa433ad897d68216 Mon Sep 17 00:00:00 2001
2From: Philip Withnall <pwithnall@endlessos.org>
3Date: Fri, 1 Apr 2022 13:44:45 +0100
4Subject: [PATCH 1/2] tests: Add C++ tests for typechecking with atomic compare
5 and exchanges
6
7Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
8
9Helps: #2625
10Upstream-Status: Submitted [https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2578]
11Signed-off-by: Khem Raj <raj.khem@gmail.com>
12---
13 glib/tests/cxx.cpp | 28 ++++++++++++++++++++++++++++
14 1 file changed, 28 insertions(+)
15
16diff --git a/glib/tests/cxx.cpp b/glib/tests/cxx.cpp
17index be0a6bfa1..7d7f27c91 100644
18--- a/glib/tests/cxx.cpp
19+++ b/glib/tests/cxx.cpp
20@@ -53,6 +53,32 @@ test_typeof (void)
21 #endif
22 }
23
24+static void
25+test_atomic_pointer_compare_and_exchange (void)
26+{
27+ const gchar *str1 = "str1";
28+ const gchar *str2 = "str2";
29+ const gchar *atomic_string = str1;
30+
31+ g_test_message ("Test that g_atomic_pointer_compare_and_exchange() with a "
32+ "non-void* pointer doesn’t have any compiler warnings in C++ mode");
33+
34+ g_assert_true (g_atomic_pointer_compare_and_exchange (&atomic_string, str1, str2));
35+ g_assert_true (atomic_string == str2);
36+}
37+
38+static void
39+test_atomic_int_compare_and_exchange (void)
40+{
41+ gint atomic_int = 5;
42+
43+ g_test_message ("Test that g_atomic_int_compare_and_exchange() doesn’t have "
44+ "any compiler warnings in C++ mode");
45+
46+ g_assert_true (g_atomic_int_compare_and_exchange (&atomic_int, 5, 50));
47+ g_assert_cmpint (atomic_int, ==, 50);
48+}
49+
50 int
51 main (int argc, char *argv[])
52 {
53@@ -63,6 +89,8 @@ main (int argc, char *argv[])
54 #endif
55
56 g_test_add_func ("/C++/typeof", test_typeof);
57+ g_test_add_func ("/C++/atomic-pointer-compare-and-exchange", test_atomic_pointer_compare_and_exchange);
58+ g_test_add_func ("/C++/atomic-int-compare-and-exchange", test_atomic_int_compare_and_exchange);
59
60 return g_test_run ();
61 }
62--
632.35.1
64
diff --git a/meta/recipes-core/glib-2.0/glib-2.0/0002-gatomic-Add-a-C-variant-of-g_atomic_int_compare_and_.patch b/meta/recipes-core/glib-2.0/glib-2.0/0002-gatomic-Add-a-C-variant-of-g_atomic_int_compare_and_.patch
deleted file mode 100644
index a07f94672f..0000000000
--- a/meta/recipes-core/glib-2.0/glib-2.0/0002-gatomic-Add-a-C-variant-of-g_atomic_int_compare_and_.patch
+++ /dev/null
@@ -1,70 +0,0 @@
1From 2668390454bc0efe52a262eb2faa4a2bd5a062e2 Mon Sep 17 00:00:00 2001
2From: Philip Withnall <pwithnall@endlessos.org>
3Date: Fri, 1 Apr 2022 13:47:19 +0100
4Subject: [PATCH 2/2] gatomic: Add a C++ variant of
5 g_atomic_int_compare_and_exchange()
6MIME-Version: 1.0
7Content-Type: text/plain; charset=UTF-8
8Content-Transfer-Encoding: 8bit
9
10The C++ variant implements type safety differently, to avoid warnings
11from C++ compilers about:
12```
13../../../gnome-commander-1.14.2/src/intviewer/searcher.cc:303:5: error: cannot initialize a parameter of type 'gint *' (aka 'int *') with an rvalue of type 'void *'
14 g_atomic_int_compare_and_exchange ((gint*)&src->priv->progress_value, oldval, (gint)d);
15 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
16/mnt/b/yoe/master/build/tmp/work/cortexa72-yoe-linux/gnome-commander/1.14.2-r0/recipe-sysroot/usr/include/glib-2.0/glib/gatomic.h:160:44: note: expanded from macro 'g_atomic_int_compare_and_exchange'
17 __atomic_compare_exchange_n ((atomic), (void *) (&(gaicae_oldval)), (newval), FALSE, __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST) ? TRUE : FALSE; \
18 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
19```
20
21This complements the existing C++ variant for
22`g_atomic_pointer_compare_and_exchange()`, and fixes a regression on C++
23from https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2114.
24
25With the addition of the unit tests in the previous commit, this is
26effectively tested by the FreeBSD and macOS CI jobs, as they use
27`clang++` in C++ mode. `g++` doesn’t seem to emit a warning about this.
28
29Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
30
31Fixes: #2625
32Upstream-Status: Submitted [https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2578]
33Signed-off-by: Khem Raj <raj.khem@gmail.com>
34---
35 glib/gatomic.h | 12 ++++++++++++
36 1 file changed, 12 insertions(+)
37
38diff --git a/glib/gatomic.h b/glib/gatomic.h
39index 5eba1dbc7..8b2b880c8 100644
40--- a/glib/gatomic.h
41+++ b/glib/gatomic.h
42@@ -152,6 +152,17 @@ G_END_DECLS
43 (void) (0 ? *(atomic) ^ *(atomic) : 1); \
44 __atomic_fetch_sub ((atomic), 1, __ATOMIC_SEQ_CST) == 1; \
45 }))
46+#if defined(glib_typeof) && defined(__cplusplus) && __cplusplus >= 201103L
47+/* See comments below about equivalent g_atomic_pointer_compare_and_exchange()
48+ * shenanigans for type-safety when compiling in C++ mode. */
49+#define g_atomic_int_compare_and_exchange(atomic, oldval, newval) \
50+ (G_GNUC_EXTENSION ({ \
51+ glib_typeof (*(atomic)) gaicae_oldval = (oldval); \
52+ G_STATIC_ASSERT (sizeof *(atomic) == sizeof (gint)); \
53+ (void) (0 ? *(atomic) ^ (newval) ^ (oldval) : 1); \
54+ __atomic_compare_exchange_n ((atomic), &gaicae_oldval, (newval), FALSE, __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST) ? TRUE : FALSE; \
55+ }))
56+#else /* if !(defined(glib_typeof) && defined(__cplusplus) && __cplusplus >= 201103L) */
57 #define g_atomic_int_compare_and_exchange(atomic, oldval, newval) \
58 (G_GNUC_EXTENSION ({ \
59 gint gaicae_oldval = (oldval); \
60@@ -159,6 +170,7 @@ G_END_DECLS
61 (void) (0 ? *(atomic) ^ (newval) ^ (oldval) : 1); \
62 __atomic_compare_exchange_n ((atomic), (void *) (&(gaicae_oldval)), (newval), FALSE, __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST) ? TRUE : FALSE; \
63 }))
64+#endif /* defined(glib_typeof) */
65 #define g_atomic_int_add(atomic, val) \
66 (G_GNUC_EXTENSION ({ \
67 G_STATIC_ASSERT (sizeof *(atomic) == sizeof (gint)); \
68--
692.35.1
70
diff --git a/meta/recipes-core/glib-2.0/glib-2.0/Enable-more-tests-while-cross-compiling.patch b/meta/recipes-core/glib-2.0/glib-2.0/Enable-more-tests-while-cross-compiling.patch
index 6147bdae46..f5c161fe04 100644
--- a/meta/recipes-core/glib-2.0/glib-2.0/Enable-more-tests-while-cross-compiling.patch
+++ b/meta/recipes-core/glib-2.0/glib-2.0/Enable-more-tests-while-cross-compiling.patch
@@ -1,4 +1,4 @@
1From d2d7af496b4f4a13779179dbcbb98de56b09783f Mon Sep 17 00:00:00 2001 1From 1f3c05529c0c9032ae0a289fb1f088b7541fc9b0 Mon Sep 17 00:00:00 2001
2From: Jussi Kukkonen <jussi.kukkonen@intel.com> 2From: Jussi Kukkonen <jussi.kukkonen@intel.com>
3Date: Mon, 9 Nov 2015 11:07:27 +0200 3Date: Mon, 9 Nov 2015 11:07:27 +0200
4Subject: [PATCH] Enable more tests while cross-compiling 4Subject: [PATCH] Enable more tests while cross-compiling
@@ -9,24 +9,25 @@ case we can depend on glib-2.0-native.
9 9
10Upstream-Status: Inappropriate [OE specific] 10Upstream-Status: Inappropriate [OE specific]
11Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> 11Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
12
12--- 13---
13 gio/tests/meson.build | 24 ++++++++++++------------ 14 gio/tests/meson.build | 24 ++++++++++++------------
14 1 file changed, 12 insertions(+), 12 deletions(-) 15 1 file changed, 12 insertions(+), 12 deletions(-)
15 16
16diff --git a/gio/tests/meson.build b/gio/tests/meson.build 17diff --git a/gio/tests/meson.build b/gio/tests/meson.build
17index e8d10a0f11f2..abe676767c60 100644 18index 3ed23a5..5df932a 100644
18--- a/gio/tests/meson.build 19--- a/gio/tests/meson.build
19+++ b/gio/tests/meson.build 20+++ b/gio/tests/meson.build
20@@ -250,7 +250,7 @@ if host_machine.system() != 'windows' 21@@ -253,7 +253,7 @@ if host_machine.system() != 'windows'
22 }
23 endif
21 24
22 # Test programs that need to bring up a session bus (requires dbus-daemon)
23 have_dbus_daemon = find_program('dbus-daemon', required : false).found()
24- if have_dbus_daemon 25- if have_dbus_daemon
25+ if true 26+ if true
26 annotate_args = [ 27 annotate_args = [
27 '--annotate', 'org.project.Bar', 'Key1', 'Value1', 28 '--annotate', 'org.project.Bar', 'Key1', 'Value1',
28 '--annotate', 'org.project.Bar', 'org.gtk.GDBus.Internal', 'Value2', 29 '--annotate', 'org.project.Bar', 'org.gtk.GDBus.Internal', 'Value2',
29@@ -601,14 +601,14 @@ if installed_tests_enabled 30@@ -603,14 +603,14 @@ if installed_tests_enabled
30 endforeach 31 endforeach
31 endif 32 endif
32 33
@@ -43,7 +44,7 @@ index e8d10a0f11f2..abe676767c60 100644
43 compiler_type, 44 compiler_type,
44 '--target=@OUTPUT@', 45 '--target=@OUTPUT@',
45 '--sourcedir=' + meson.current_source_dir(), 46 '--sourcedir=' + meson.current_source_dir(),
46@@ -634,7 +634,7 @@ if not meson.is_cross_build() or meson.has_exe_wrapper() 47@@ -636,7 +636,7 @@ if not meson.is_cross_build() or meson.has_exe_wrapper()
47 test_gresource = custom_target('test.gresource', 48 test_gresource = custom_target('test.gresource',
48 input : 'test.gresource.xml', 49 input : 'test.gresource.xml',
49 output : 'test.gresource', 50 output : 'test.gresource',
@@ -52,7 +53,7 @@ index e8d10a0f11f2..abe676767c60 100644
52 compiler_type, 53 compiler_type,
53 '--target=@OUTPUT@', 54 '--target=@OUTPUT@',
54 '--sourcedir=' + meson.current_source_dir(), 55 '--sourcedir=' + meson.current_source_dir(),
55@@ -647,7 +647,7 @@ if not meson.is_cross_build() or meson.has_exe_wrapper() 56@@ -649,7 +649,7 @@ if not meson.is_cross_build() or meson.has_exe_wrapper()
56 test_resources2_c = custom_target('test_resources2.c', 57 test_resources2_c = custom_target('test_resources2.c',
57 input : 'test3.gresource.xml', 58 input : 'test3.gresource.xml',
58 output : 'test_resources2.c', 59 output : 'test_resources2.c',
@@ -61,7 +62,7 @@ index e8d10a0f11f2..abe676767c60 100644
61 compiler_type, 62 compiler_type,
62 '--target=@OUTPUT@', 63 '--target=@OUTPUT@',
63 '--sourcedir=' + meson.current_source_dir(), 64 '--sourcedir=' + meson.current_source_dir(),
64@@ -660,7 +660,7 @@ if not meson.is_cross_build() or meson.has_exe_wrapper() 65@@ -662,7 +662,7 @@ if not meson.is_cross_build() or meson.has_exe_wrapper()
65 test_resources2_h = custom_target('test_resources2.h', 66 test_resources2_h = custom_target('test_resources2.h',
66 input : 'test3.gresource.xml', 67 input : 'test3.gresource.xml',
67 output : 'test_resources2.h', 68 output : 'test_resources2.h',
@@ -70,7 +71,7 @@ index e8d10a0f11f2..abe676767c60 100644
70 compiler_type, 71 compiler_type,
71 '--target=@OUTPUT@', 72 '--target=@OUTPUT@',
72 '--sourcedir=' + meson.current_source_dir(), 73 '--sourcedir=' + meson.current_source_dir(),
73@@ -674,7 +674,7 @@ if not meson.is_cross_build() or meson.has_exe_wrapper() 74@@ -676,7 +676,7 @@ if not meson.is_cross_build() or meson.has_exe_wrapper()
74 input : 'test2.gresource.xml', 75 input : 'test2.gresource.xml',
75 depends : big_test_resource, 76 depends : big_test_resource,
76 output : 'test_resources.c', 77 output : 'test_resources.c',
@@ -79,7 +80,7 @@ index e8d10a0f11f2..abe676767c60 100644
79 compiler_type, 80 compiler_type,
80 '--target=@OUTPUT@', 81 '--target=@OUTPUT@',
81 '--sourcedir=' + meson.current_source_dir(), 82 '--sourcedir=' + meson.current_source_dir(),
82@@ -687,7 +687,7 @@ if not meson.is_cross_build() or meson.has_exe_wrapper() 83@@ -689,7 +689,7 @@ if not meson.is_cross_build() or meson.has_exe_wrapper()
83 digit_test_resources_c = custom_target('digit_test_resources.c', 84 digit_test_resources_c = custom_target('digit_test_resources.c',
84 input : '111_digit_test.gresource.xml', 85 input : '111_digit_test.gresource.xml',
85 output : 'digit_test_resources.c', 86 output : 'digit_test_resources.c',
@@ -88,7 +89,7 @@ index e8d10a0f11f2..abe676767c60 100644
88 compiler_type, 89 compiler_type,
89 '--target=@OUTPUT@', 90 '--target=@OUTPUT@',
90 '--sourcedir=' + meson.current_source_dir(), 91 '--sourcedir=' + meson.current_source_dir(),
91@@ -700,7 +700,7 @@ if not meson.is_cross_build() or meson.has_exe_wrapper() 92@@ -702,7 +702,7 @@ if not meson.is_cross_build() or meson.has_exe_wrapper()
92 digit_test_resources_h = custom_target('digit_test_resources.h', 93 digit_test_resources_h = custom_target('digit_test_resources.h',
93 input : '111_digit_test.gresource.xml', 94 input : '111_digit_test.gresource.xml',
94 output : 'digit_test_resources.h', 95 output : 'digit_test_resources.h',
@@ -97,7 +98,7 @@ index e8d10a0f11f2..abe676767c60 100644
97 compiler_type, 98 compiler_type,
98 '--target=@OUTPUT@', 99 '--target=@OUTPUT@',
99 '--sourcedir=' + meson.current_source_dir(), 100 '--sourcedir=' + meson.current_source_dir(),
100@@ -742,11 +742,11 @@ if not meson.is_cross_build() or meson.has_exe_wrapper() 101@@ -744,11 +744,11 @@ if not meson.is_cross_build() or meson.has_exe_wrapper()
101 102
102 ld = find_program('ld', required : false) 103 ld = find_program('ld', required : false)
103 104
@@ -111,7 +112,7 @@ index e8d10a0f11f2..abe676767c60 100644
111 compiler_type, 112 compiler_type,
112 '--target=@OUTPUT@', 113 '--target=@OUTPUT@',
113 '--sourcedir=' + meson.current_source_dir(), 114 '--sourcedir=' + meson.current_source_dir(),
114@@ -760,7 +760,7 @@ if not meson.is_cross_build() or meson.has_exe_wrapper() 115@@ -762,7 +762,7 @@ if not meson.is_cross_build() or meson.has_exe_wrapper()
115 test_resources_binary_c = custom_target('test_resources_binary.c', 116 test_resources_binary_c = custom_target('test_resources_binary.c',
116 input : 'test5.gresource.xml', 117 input : 'test5.gresource.xml',
117 output : 'test_resources_binary.c', 118 output : 'test_resources_binary.c',
@@ -120,6 +121,3 @@ index e8d10a0f11f2..abe676767c60 100644
120 compiler_type, 121 compiler_type,
121 '--target=@OUTPUT@', 122 '--target=@OUTPUT@',
122 '--sourcedir=' + meson.current_source_dir(), 123 '--sourcedir=' + meson.current_source_dir(),
123--
1242.34.1
125
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 d3bb05e669..816b790ce7 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 @@
1From d4e95568151cb7a62b6a29a4d2c3f532fd55c98c Mon Sep 17 00:00:00 2001 1From d52b1b530c5d8a1e70ae45d6e2139e9d3f25207f Mon Sep 17 00:00:00 2001
2From: Ross Burton <ross.burton@intel.com> 2From: Ross Burton <ross.burton@intel.com>
3Date: Fri, 11 Mar 2016 15:35:55 +0000 3Date: Fri, 11 Mar 2016 15:35:55 +0000
4Subject: [PATCH] glib-2.0: relocate the GIO module directory for native builds 4Subject: [PATCH] glib-2.0: relocate the GIO module directory for native builds
@@ -19,10 +19,10 @@ 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
21diff --git a/gio/giomodule.c b/gio/giomodule.c 21diff --git a/gio/giomodule.c b/gio/giomodule.c
22index d34037a..7442df6 100644 22index 2a043cc..e2d2310 100644
23--- a/gio/giomodule.c 23--- a/gio/giomodule.c
24+++ b/gio/giomodule.c 24+++ b/gio/giomodule.c
25@@ -54,6 +54,8 @@ 25@@ -56,6 +56,8 @@
26 #ifdef G_OS_WIN32 26 #ifdef G_OS_WIN32
27 #include "gregistrysettingsbackend.h" 27 #include "gregistrysettingsbackend.h"
28 #include "giowin32-priv.h" 28 #include "giowin32-priv.h"
@@ -31,7 +31,7 @@ index d34037a..7442df6 100644
31 #endif 31 #endif
32 #include <glib/gstdio.h> 32 #include <glib/gstdio.h>
33 33
34@@ -1224,7 +1226,15 @@ get_gio_module_dir (void) 34@@ -1267,7 +1269,15 @@ get_gio_module_dir (void)
35 NULL); 35 NULL);
36 g_free (install_dir); 36 g_free (install_dir);
37 #else 37 #else
diff --git a/meta/recipes-core/glib-2.0/glib-2.0_2.72.0.bb b/meta/recipes-core/glib-2.0/glib-2.0_2.72.1.bb
index 62479e3c3f..c9ccedd81f 100644
--- a/meta/recipes-core/glib-2.0/glib-2.0_2.72.0.bb
+++ b/meta/recipes-core/glib-2.0/glib-2.0_2.72.1.bb
@@ -16,12 +16,10 @@ SRC_URI = "${GNOME_MIRROR}/glib/${SHRT_VER}/glib-${PV}.tar.xz \
16 file://0001-Do-not-write-bindir-into-pkg-config-files.patch \ 16 file://0001-Do-not-write-bindir-into-pkg-config-files.patch \
17 file://0001-meson-Run-atomics-test-on-clang-as-well.patch \ 17 file://0001-meson-Run-atomics-test-on-clang-as-well.patch \
18 file://0001-gio-tests-resources.c-comment-out-a-build-host-only-.patch \ 18 file://0001-gio-tests-resources.c-comment-out-a-build-host-only-.patch \
19 file://0001-tests-Add-C-tests-for-typechecking-with-atomic-compa.patch \
20 file://0002-gatomic-Add-a-C-variant-of-g_atomic_int_compare_and_.patch \
21 " 19 "
22SRC_URI:append:class-native = " file://relocate-modules.patch" 20SRC_URI:append:class-native = " file://relocate-modules.patch"
23 21
24SRC_URI[sha256sum] = "d7bef0d4c4e7a62e08efb8e5f252a01357007b9588a87ff2b463a3857011f79d" 22SRC_URI[sha256sum] = "c07e57147b254cef92ce80a0378dc0c02a4358e7de4702e9f403069781095fe2"
25 23
26# Find any meson cross files in FILESPATH that are relevant for the current 24# Find any meson cross files in FILESPATH that are relevant for the current
27# build (using siteinfo) and add them to EXTRA_OEMESON. 25# build (using siteinfo) and add them to EXTRA_OEMESON.