diff --git a/base/pkgconfig/gcc6-compat.patch b/base/pkgconfig/gcc6-compat.patch new file mode 100644 index 000000000..d42101212 --- /dev/null +++ b/base/pkgconfig/gcc6-compat.patch @@ -0,0 +1,34 @@ +# --- SDE-COPYRIGHT-NOTE-BEGIN --- +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# +# Filename: package/.../pkgconfig/gcc6-compat.patch +# Copyright (C) 2016 The OpenSDE Project +# +# More information can be found in the files COPYING and README. +# +# This patch file is dual-licensed. It is available under the license the +# patched project is licensed under, as long as it is an OpenSource license +# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms +# of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or (at your option) any later +# version. +# --- SDE-COPYRIGHT-NOTE-END --- + +--- ./glib/glib/gdate.c.orig 2016-01-24 23:51:38.000000000 +0200 ++++ ./glib/glib/gdate.c 2016-05-01 13:40:54.424126999 +0300 +@@ -2439,6 +2439,9 @@ + * + * Returns: number of characters written to the buffer, or 0 the buffer was too small + */ ++#pragma GCC diagnostic push ++#pragma GCC diagnostic ignored "-Wformat-nonliteral" ++ + gsize + g_date_strftime (gchar *s, + gsize slen, +@@ -2549,3 +2552,5 @@ + return retval; + #endif + } ++ ++#pragma GCC diagnostic pop