mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Marc Kleine-Budde <mkl@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Jon Ringle <jringle@gridpoint.com>
Subject: Re: [ptxdist] [PATCH] glib: Patch glib-2.0.pc.in to use '-isystem dir' rather than '-Idir'
Date: Sat, 3 Oct 2015 10:56:10 +0200	[thread overview]
Message-ID: <560F982A.7020904@pengutronix.de> (raw)
In-Reply-To: <1443841571-30052-1-git-send-email-jon@ringle.org>


[-- Attachment #1.1: Type: text/plain, Size: 1871 bytes --]

On 10/03/2015 05:06 AM, jon@ringle.org wrote:
> From: Jon Ringle <jringle@gridpoint.com>
> 
> 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 <jringle@gridpoint.com>
> ---
>  ....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 <jringle@gridpoint.com>
> +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   |


[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 455 bytes --]

[-- Attachment #2: Type: text/plain, Size: 48 bytes --]

-- 
ptxdist mailing list
ptxdist@pengutronix.de

  reply	other threads:[~2015-10-03  8:56 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-03  3:06 jon
2015-10-03  8:56 ` Marc Kleine-Budde [this message]
2015-10-03 13:11   ` Jon Ringle
2015-10-16 14:02     ` Jon Ringle
2015-10-30 10:22       ` Michael Olbrich
2015-10-30 15:45         ` Jon Ringle

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=560F982A.7020904@pengutronix.de \
    --to=mkl@pengutronix.de \
    --cc=jringle@gridpoint.com \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox