summaryrefslogtreecommitdiff
path: root/mail-client/mail-notification/files/mail-notification-jb-gcc-format.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /mail-client/mail-notification/files/mail-notification-jb-gcc-format.patch
reinit the tree, so we can have metadata
Diffstat (limited to 'mail-client/mail-notification/files/mail-notification-jb-gcc-format.patch')
-rw-r--r--mail-client/mail-notification/files/mail-notification-jb-gcc-format.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/mail-client/mail-notification/files/mail-notification-jb-gcc-format.patch b/mail-client/mail-notification/files/mail-notification-jb-gcc-format.patch
new file mode 100644
index 000000000000..c99b01eda48f
--- /dev/null
+++ b/mail-client/mail-notification/files/mail-notification-jb-gcc-format.patch
@@ -0,0 +1,15 @@
+Index: epienbroek-mail-notification-eab5c13/jbsrc/lib/src/core/jb-util.c
+===================================================================
+--- epienbroek-mail-notification-eab5c13.orig/jbsrc/lib/src/core/jb-util.c
++++ epienbroek-mail-notification-eab5c13/jbsrc/lib/src/core/jb-util.c
+@@ -208,6 +208,10 @@ jb_message_result_string_format (const c
+ g_free(message);
+ }
+
++#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ > 4)
++static void print_warning_or_error (const char *prefix, const char *format, va_list args) __attribute__ ((format(printf, 1, 0)));
++#endif
++
+ static void
+ print_warning_or_error (const char *prefix, const char *format, va_list args)
+ {