pkgsrc/devel/glib2/patches/patch-al
drochner a2f8d1406e -remove a temporary hack which made that posix_memalign(3) was not used
even if present; the purpose was to allow use of both malloc
 implementations of NetBSD-current, but since other pkgs are picking up
 posix_memalign(3) too, and NetBSD-current will deal with the binary
 compatibility problem, this is getting pointless
-comment out 2 selftests which depend on nonstandard behaviour of
 GNU iconv(3) -- the code itself works as documented
ride on recent update
2007-11-27 21:33:22 +00:00

20 lines
564 B
Text

$NetBSD: patch-al,v 1.3 2007/11/27 21:33:23 drochner Exp $
--- tests/convert-test.c.orig 2007-11-26 15:26:15.000000000 +0100
+++ tests/convert-test.c
@@ -73,6 +73,7 @@ test_one_half (void)
g_assert (strcmp (out, "\xbd") == 0);
g_free (out);
+#if 0 /* these 2 tests depend on GNU iconv specific behaviour */
out = g_convert (in, -1,
"ISO-8859-15", "UTF-8",
&bytes_read, &bytes_written,
@@ -96,6 +97,7 @@ test_one_half (void)
g_assert (bytes_written == 1);
g_assert (strcmp (out, "a") == 0);
g_free (out);
+#endif
}
static void