openexr: make architecture independent
[oi-userland.git] / components / library / glib / patches / 28-iconv-no-latin1.patch
blob643735df62b0b0c6bb756f8709fe9f5f7e1f5d49
1 illumos does not support latin1. Use iso-8859-1 instead.
3 --- glib-2.62.6/gio/tests/converter-stream.c.orig
4 +++ glib-2.62.6/gio/tests/converter-stream.c
5 @@ -1169,7 +1169,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 @@ -1177,7 +1177,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);