1 --- glib-2.82.0/glib/tests/date.c.orig
2 +++ glib-2.82.0/glib/tests/date.c
7 -#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__APPLE__)
8 +#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__APPLE__) || defined(__sun)
10 { "%c", "Mon Jan 1 00:00:00 0001" },
12 --- glib-2.82.0/glib/tests/string.c.orig
13 +++ glib-2.82.0/glib/tests/string.c
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
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"