summaryrefslogtreecommitdiff
path: root/package/glib/patches/patch-meson_build
diff options
context:
space:
mode:
Diffstat (limited to 'package/glib/patches/patch-meson_build')
-rw-r--r--package/glib/patches/patch-meson_build10
1 files changed, 10 insertions, 0 deletions
diff --git a/package/glib/patches/patch-meson_build b/package/glib/patches/patch-meson_build
new file mode 100644
index 000000000..7a68e0a57
--- /dev/null
+++ b/package/glib/patches/patch-meson_build
@@ -0,0 +1,10 @@
+--- glib-2.70.0.orig/meson.build 2021-09-17 12:17:56.849962700 +0200
++++ glib-2.70.0/meson.build 2022-02-28 20:24:15.048295012 +0100
+@@ -449,6 +449,7 @@ if cc.get_id() == 'gcc' or cc.get_id() =
+ '-Werror=missing-include-dirs',
+ '-Werror=missing-prototypes',
+ '-Werror=pointer-arith',
++ '-Wno-error=format-nonliteral',
+ ]
+ warning_c_link_args = [
+ '-Wl,-z,nodelete',