diff --git a/meta/recipes-core/glib-2.0/files/0001-Wsign-conversion-warning-on-arm64-OpenBSD-in-GString-tests.patch b/meta/recipes-core/glib-2.0/files/0001-Wsign-conversion-warning-on-arm64-OpenBSD-in-GString-tests.patch
new file mode 100644
index 0000000000..056b22695d
--- /dev/null
+++ b/meta/recipes-core/glib-2.0/files/0001-Wsign-conversion-warning-on-arm64-OpenBSD-in-GString-tests.patch
@@ -0,0 +1,30 @@
+From 29fb84735c9c1ce0c3b72d3fc21bdf9744e37f64 Mon Sep 17 00:00:00 2001
+From: Antoine Jacoutot <ajacoutot@openbsd.org>
+Date: Sun, 25 Oct 2026 19:33:56 +0000
+Subject: [PATCH] -Wsign-conversion warning on arm64 OpenBSD in GString tests
+
+glib 2.90.2 passes -Werror=sign-conversion to the string test with clang
+as well (cc.get_argument_syntax() instead of cc.get_id()), so it fails
+to build where char is unsigned (arm, aarch64, riscv):
+
+  string.c:351:36: error: implicit conversion changes signedness: 'int' to 'gchar' (aka 'char') [-Werror,-Wsign-conversion]
+
+Upstream-Status: Backport [https://gitlab.gnome.org/GNOME/glib/-/commit/29fb84735c9c1ce0c3b72d3fc21bdf9744e37f64]
+Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
+---
+ glib/tests/string.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/glib/tests/string.c b/glib/tests/string.c
+index 3d922961692..73a125d4116 100644
+--- a/glib/tests/string.c
++++ b/glib/tests/string.c
+@@ -348,7 +348,7 @@ test_string_prepend_c (void)
+   string = g_string_new ("hi pete!");
+ 
+   for (i = 0; i < 10000; i++)
+-    g_string_prepend_c (string, 'a'+(i%26));
++    g_string_prepend_c (string, (char)('a'+(i%26)));
+ 
+   g_assert((strlen("hi pete!") + 10000) == string->len);
+   g_assert((strlen("hi pete!") + 10000) == strlen(string->str));
diff --git a/meta/recipes-core/glib-2.0/glib.inc b/meta/recipes-core/glib-2.0/glib.inc
index 844841e88e..7258cf3170 100644
--- a/meta/recipes-core/glib-2.0/glib.inc
+++ b/meta/recipes-core/glib-2.0/glib.inc
@@ -237,6 +237,7 @@ SRC_URI += "file://run-ptest \
            file://skip-monotonic-time-similar.patch \
            file://0001-tests-gdbus-server-auth-Create-the-long-path-inside-.patch \
            file://0001-girepository-Only-prepend-library-path-for-g-ir-scann.patch \
+           file://0001-Wsign-conversion-warning-on-arm64-OpenBSD-in-GString-tests.patch \
            "
 SRC_URI:append:class-native = " file://relocate-modules.patch \
                                 file://0001-meson.build-do-not-enable-pidfd-features-on-native-g.patch \
