From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: References: <1443841571-30052-1-git-send-email-jon@ringle.org> From: Marc Kleine-Budde Message-ID: <560F982A.7020904@pengutronix.de> Date: Sat, 3 Oct 2015 10:56:10 +0200 MIME-Version: 1.0 In-Reply-To: <1443841571-30052-1-git-send-email-jon@ringle.org> Subject: Re: [ptxdist] [PATCH] glib: Patch glib-2.0.pc.in to use '-isystem dir' rather than '-Idir' List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: multipart/mixed; boundary="===============1667159193==" Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de Cc: Jon Ringle This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --===============1667159193== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="i7aLNWLiUXc9KHKdbwAvPbQ7rLQcdNLX2" This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --i7aLNWLiUXc9KHKdbwAvPbQ7rLQcdNLX2 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 10/03/2015 05:06 AM, jon@ringle.org wrote: > From: Jon Ringle >=20 > When ptxdist did a bump to glib-2.44.0, a project that uses glib and bu= ilds > with -Werror will fail. >=20 > This patch will allow projects that use -Werror to continue to build wi= thout > error. >=20 > This patch was submitted upstream: > https://bugzilla.gnome.org/show_bug.cgi?id=3D756005 >=20 > 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 >=20 > diff --git a/patches/glib-2.44.0/0001-glib-2.0.pc.in-use-isystem-dir-ra= ther-than-Idir.patch b/patches/glib-2.44.0/0001-glib-2.0.pc.in-use-isyste= m-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-th= an-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_LIS= T_MODEL(gconstpointer)': ^^^^^^^^^^^^^^^^^^^^^ this doesn't look correct when cross compiling. Marc --=20 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 | --i7aLNWLiUXc9KHKdbwAvPbQ7rLQcdNLX2 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBCgAGBQJWD5grAAoJEP5prqPJtc/HnXoH/3IaIfLDVUgrBWOtXuCMJXL6 XkSUWW2Pl5QuqhvDQQN91hT09xV6daHFTgASfzShUeEih+4l2AOYSf83U7vlaEHX q4paAXVF7J/gld4pwmOAUGv2eM5nI/StMg/u8QYkNPmHs/8Jm7J1oHwO4FzqjPq8 aSEZVpAciky5rCM24qqu0oRHPEgE4RC9VjUFJnFrintyQcn0GXgdqJhw+M3cALGF re9ZYy0olRbSeRoBMKhjEEuuHz8kX9py5E5qs5/WmpSxItWwX+Nf6ErwqFbC2zoH SgLBfX0GAmRQBoytD1izze+MMETjRXKk+leatNFaEDWX913YESsRBe81Hkvfydo= =fhNO -----END PGP SIGNATURE----- --i7aLNWLiUXc9KHKdbwAvPbQ7rLQcdNLX2-- --===============1667159193== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline LS0gCnB0eGRpc3QgbWFpbGluZyBsaXN0CnB0eGRpc3RAcGVuZ3V0cm9uaXguZGUK --===============1667159193==--