pkgsrc/devel/glib2/patches/patch-al
2017-11-22 08:45:59 +00:00

22 lines
611 B
Text

$NetBSD: patch-al,v 1.8 2017/11/22 08:45:59 wiz Exp $
https://bugzilla.gnome.org/show_bug.cgi?id=790698
--- glib/tests/convert.c.orig 2013-09-05 10:43:41.000000000 +0000
+++ glib/tests/convert.c
@@ -65,6 +65,7 @@ test_one_half (void)
gsize bytes_written = 0;
GError *error = NULL;
+#if 0 /* these tests depend on GNU iconv specific behaviour */
out = g_convert (in, -1,
"ISO-8859-1", "UTF-8",
&bytes_read, &bytes_written,
@@ -99,6 +100,7 @@ test_one_half (void)
g_assert_cmpint (bytes_written, ==, 1);
g_assert_cmpstr (out, ==, "a");
g_free (out);
+#endif
}
static void