python/hypothesis: update to 6.121.0
[oi-userland.git] / components / library / glib / patches / 01-test-sun.patch
blobcbf94d11760873a393cf766239653aae4275c412
1 --- glib-2.82.0/glib/tests/date.c.orig
2 +++ glib-2.82.0/glib/tests/date.c
3 @@ -725,7 +725,7 @@
4 #else
5 { "%B", "January" },
6 { "%b", "Jan" },
7 -#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__APPLE__)
8 +#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__APPLE__) || defined(__sun)
9 { "%C", "00" },
10 { "%c", "Mon Jan 1 00:00:00 0001" },
11 { "%E", "E" },
12 --- glib-2.82.0/glib/tests/string.c.orig
13 +++ glib-2.82.0/glib/tests/string.c
14 @@ -320,7 +320,7 @@
15 string_append_vprintf_va (string, "some %s placeholders", "format");
17 /* vasprintf() placeholder checks on BSDs are less strict, so skip these checks if so */
18 -#if !defined(__APPLE__) && !defined(__FreeBSD__)
19 +#if !defined(__APPLE__) && !defined(__FreeBSD__) && !defined(__sun)
20 if (g_test_undefined ())
22 g_test_expect_message (G_LOG_DOMAIN, G_LOG_LEVEL_CRITICAL,
23 --- glib-2.82.0/glib/tests/test-printf.c.orig
24 +++ glib-2.82.0/glib/tests/test-printf.c
25 @@ -934,7 +934,7 @@
27 g_test_summary ("Test error handling for invalid format placeholder in g_vasprintf()");
29 -#if !defined(__APPLE__) && !defined(__FreeBSD__)
30 +#if !defined(__APPLE__) && !defined(__FreeBSD__) && !defined(__sun)
31 #pragma GCC diagnostic push
32 #pragma GCC diagnostic ignored "-Wformat"
33 #pragma GCC diagnostic ignored "-Wformat-extra-args"