summaryrefslogtreecommitdiff
path: root/user/glib/broken-gio-tests.patch
diff options
context:
space:
mode:
Diffstat (limited to 'user/glib/broken-gio-tests.patch')
-rw-r--r--user/glib/broken-gio-tests.patch12
1 files changed, 7 insertions, 5 deletions
diff --git a/user/glib/broken-gio-tests.patch b/user/glib/broken-gio-tests.patch
index e79925751..75354ad8b 100644
--- a/user/glib/broken-gio-tests.patch
+++ b/user/glib/broken-gio-tests.patch
@@ -37,12 +37,14 @@ Requires update-desktop-database
+#if 0 // dlclose is noop on musl
g_type_module_unuse (G_TYPE_MODULE (module));
- found = g_resources_get_info ("/resourceplugin/test1.txt",
-@@ -434,6 +435,7 @@
- g_assert (!found);
+ found = g_resources_get_info ("/resourceplugin/test1.txt",
+--- a/gio/tests/resources.c
++++ b/gio/tests/resources.c
+@@ -763,6 +763,7 @@
+ g_assert_false (found);
g_assert_error (error, G_RESOURCE_ERROR, G_RESOURCE_ERROR_NOT_FOUND);
g_clear_error (&error);
+#endif
- }
- }
+ g_clear_object (&module);
+ }