1From 9e0f11a4981737f98bac93a22b6f2ff1a3887b63 Mon Sep 17 00:00:00 2001
2From: Adam Duskett <Aduskett@gmail.com>
3Date: Tue, 9 Apr 2019 13:03:51 -0400
4Subject: [PATCH] Add '-Wno-format-nonliteral' to compiler arguments.
5
6This warning is a false positive on older versions of gcc.
7See https://gitlab.gnome.org/GNOME/glib/issues/1744 for more details.
8
9Signed-off-by: Adam Duskett <Aduskett@gmail.com>
10Refresh for 2.68.1
11---
12 meson.build | 1 +
13 1 file changed, 1 insertion(+)
14
15diff --git a/meson.build b/meson.build
16index 3c615b7..7cae4e8 100644
17--- a/meson.build
18+++ b/meson.build
19@@ -431,6 +431,7 @@ if cc.get_id() == 'gcc' or cc.get_id() == 'clang'
20     # building with -Wbad-function-cast.
21     '-Wno-bad-function-cast',
22     '-Wno-cast-function-type',
23+    '-Wno-format-nonliteral',
24     # Due to function casts through (void*) we cannot support -Wpedantic:
25     # https://wiki.gnome.org/Projects/GLib/CompilerRequirements#Function_pointer_conversions.
26     '-Wno-pedantic',
27--
282.20.1
29
30