summaryrefslogtreecommitdiffstats
path: root/x11/cinnamon-screensaver/files/patch-src_gs-debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'x11/cinnamon-screensaver/files/patch-src_gs-debug.c')
-rw-r--r--x11/cinnamon-screensaver/files/patch-src_gs-debug.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/x11/cinnamon-screensaver/files/patch-src_gs-debug.c b/x11/cinnamon-screensaver/files/patch-src_gs-debug.c
new file mode 100644
index 000000000..d4d5dcc90
--- /dev/null
+++ b/x11/cinnamon-screensaver/files/patch-src_gs-debug.c
@@ -0,0 +1,20 @@
+--- src/gs-debug.c.orig 2013-11-25 08:35:36.406973707 +0000
++++ src/gs-debug.c 2013-11-25 08:37:07.941451522 +0000
+@@ -57,8 +57,17 @@
+
+ va_start (args, format);
+
++#ifdef __clang__
++#pragma clang diagnostic push
++#pragma clang diagnostic ignored "-Wformat-nonliteral"
++#endif
++
+ g_vsnprintf (buffer, 1024, format, args);
+
++#ifdef __clang__
++#pragma clang diagnostic pop
++#endif
++
+ va_end (args);
+
+ time (&the_time);