20 lines
818 B
Plaintext
20 lines
818 B
Plaintext
$OpenBSD: patch-src_nautilus-ui-utilities_c,v 1.1 2016/10/31 11:23:46 ajacoutot Exp $
|
|
|
|
nautilus-ui-utilities.c:443: error: #pragma GCC diagnostic not allowed inside functions
|
|
nautilus-ui-utilities.c:444: error: #pragma GCC diagnostic not allowed inside functions
|
|
nautilus-ui-utilities.c:446: error: #pragma GCC diagnostic not allowed inside functions
|
|
|
|
--- src/nautilus-ui-utilities.c.orig Mon Oct 31 12:16:17 2016
|
|
+++ src/nautilus-ui-utilities.c Mon Oct 31 12:16:28 2016
|
|
@@ -440,10 +440,7 @@ get_text_for_date_range (GPtrArray *date_range)
|
|
normalized = days / 365;
|
|
}
|
|
|
|
-#pragma GCC diagnostic push
|
|
-#pragma GCC diagnostic ignored "-Wformat-nonliteral"
|
|
label = g_strdup_printf (get_text_for_days_ago (days), normalized);
|
|
-#pragma GCC diagnostic pop
|
|
}
|
|
|
|
g_free (formatted_date);
|