On 10/03/2015 05:06 AM, jon@ringle.org wrote: > From: Jon Ringle > > When ptxdist did a bump to glib-2.44.0, a project that uses glib and builds > with -Werror will fail. > > This patch will allow projects that use -Werror to continue to build without > error. > > This patch was submitted upstream: > https://bugzilla.gnome.org/show_bug.cgi?id=756005 > > Signed-off-by: Jon Ringle > --- > ....0.pc.in-use-isystem-dir-rather-than-Idir.patch | 90 ++++++++++++++++++++++ > patches/glib-2.44.0/series | 4 + > 2 files changed, 94 insertions(+) > create mode 100644 patches/glib-2.44.0/0001-glib-2.0.pc.in-use-isystem-dir-rather-than-Idir.patch > create mode 100644 patches/glib-2.44.0/series > > diff --git a/patches/glib-2.44.0/0001-glib-2.0.pc.in-use-isystem-dir-rather-than-Idir.patch b/patches/glib-2.44.0/0001-glib-2.0.pc.in-use-isystem-dir-rather-than-Idir.patch > new file mode 100644 > index 0000000..c524878 > --- /dev/null > +++ b/patches/glib-2.44.0/0001-glib-2.0.pc.in-use-isystem-dir-rather-than-Idir.patch > @@ -0,0 +1,90 @@ > +From: Jon Ringle > +Date: Fri, 2 Oct 2015 22:44:07 -0400 > +Subject: [PATCH] glib-2.0.pc.in: use '-isystem dir' rather than '-Idir' > + > +glib produces warnings in that gcc will turn to errors when a project builds > +with -Werror: > +/usr/include/glib-2.0/gio/glistmodel.h: In function 'GListModel* G_LIST_MODEL(gconstpointer)': ^^^^^^^^^^^^^^^^^^^^^ this doesn't look correct when cross compiling. Marc -- Pengutronix e.K. | Marc Kleine-Budde | Industrial Linux Solutions | Phone: +49-231-2826-924 | Vertretung West/Dortmund | Fax: +49-5121-206917-5555 | Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |