python/hypothesis: update to 6.121.0
[oi-userland.git] / components / library / glib / patches / 28-iconv-no-latin1.patch
blob3fcb3ef9549ebba3d60acdb3d4347f3b933bbe7b
1 illumos does not support latin1. Use iso-8859-1 instead.
3 --- glib-2.82.0/gio/tests/converter-stream.c.orig
4 +++ glib-2.82.0/gio/tests/converter-stream.c
5 @@ -1174,7 +1174,7 @@
6 gchar *to;
7 gchar *from;
9 - converter = (GConverter *)g_charset_converter_new ("utf-8", "latin1", &error);
10 + converter = (GConverter *)g_charset_converter_new ("utf-8", "iso-8859-1", &error);
11 g_assert_no_error (error);
12 g_object_get (converter,
13 "to-charset", &to,
14 @@ -1182,7 +1182,7 @@
15 NULL);
17 g_assert_cmpstr (to, ==, "utf-8");
18 - g_assert_cmpstr (from, ==, "latin1");
19 + g_assert_cmpstr (from, ==, "iso-8859-1");
21 g_free (to);
22 g_free (from);