From owner-svn-ports-all@freebsd.org  Tue Sep  5 20:05:34 2017
Return-Path: <owner-svn-ports-all@freebsd.org>
Delivered-To: svn-ports-all@mailman.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 by mailman.ysv.freebsd.org (Postfix) with ESMTP id E41D0E1CA08
 for <svn-ports-all@mailman.ysv.freebsd.org>;
 Tue,  5 Sep 2017 20:05:34 +0000 (UTC)
 (envelope-from sunpoet@sunpoet.net)
Received: from mail-oi0-x22d.google.com (mail-oi0-x22d.google.com
 [IPv6:2607:f8b0:4003:c06::22d])
 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
 (Client CN "smtp.gmail.com",
 Issuer "Google Internet Authority G2" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id 2D3D57F2E6
 for <svn-ports-all@freebsd.org>; Tue,  5 Sep 2017 20:05:33 +0000 (UTC)
 (envelope-from sunpoet@sunpoet.net)
Received: by mail-oi0-x22d.google.com with SMTP id x190so15370191oix.3
 for <svn-ports-all@freebsd.org>; Tue, 05 Sep 2017 13:05:33 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=sunpoet-net.20150623.gappssmtp.com; s=20150623;
 h=mime-version:sender:in-reply-to:references:from:date:message-id
 :subject:to:cc;
 bh=LmwJr4bk513HgFueFbBx2grcEuHcfd/IfDfVIHQX8OE=;
 b=nHGhoE6kakL+S0Ugyt9TollqNv6fyOEJRGAzzqTsEa6tedDlFy1y/g5Xwy6V8jQa0K
 8LdSA7LcQ9PpdZEgsVNxpqv00bAgNE2XOWS7yZ5NSf7+CoRQ+Tf/StFNKKKI5y3ttEva
 wLDHPuHcwDnYMfLBhZnd1ii7K4UFSAEYWYUEQ+5xK2UeoHL3PIB2dWF1ILiEbvbEImEi
 phQ34qSB0mGyeAMgZz8WCnlgFbkD2T6HMeO9NSE7/4CTJOFESdcDqkOre/5q1/92vsWj
 v8ncTtqnUqXztDy1GIzWaOYbw5bqWUNCvkySDT7Gk6zk0IR0NRUSm7YhTw1kU6kQkYTa
 7oyA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:sender:in-reply-to:references:from
 :date:message-id:subject:to:cc;
 bh=LmwJr4bk513HgFueFbBx2grcEuHcfd/IfDfVIHQX8OE=;
 b=Pivyqk1Gh40Mj2zAtvkAqKDNcUhzFOC88W1d+A0m1sYKVati0QOqVt7LOtldoHQv+l
 LI1VkMajj9Zjjl5JY6bcn/tYKyWLlVdhUJDsyTxgO0CZjYqShO5+DxSp5aepChCeTAYl
 bAnk5RYL0tF0h/XoEahwlsDXC+2RI/61UKasjuLobdncfigx08bhuiiNXRKWTY7e+u/s
 tDfhoTjn4/3ub4BMe10WwotjzyRBklOrhqMnBY/9FvT2uLgL+3UhruBqg6NsfO4qjpCr
 A11HKlDcsidGJz1PBU0ED5Q2PzrOmmp7Fl7Z49ugifJCQUuyNeAwSqg+xseCEZ8ZGDDj
 Wbsg==
X-Gm-Message-State: AHPjjUio2Yt0w/9tR5n/fu6asfuqig7ted1YXLHHXD+Ih8b/R26uh4yg
 LnSZLT7y1nQS2Rmki8O6c79PK+Fsx3yV
X-Google-Smtp-Source: ADKCNb51KCUyo241zbnd5DvUHpwG/TPd88+nFFDVI5DZOJF0LyxrMd1HEBmMGUk5ow8w85UlmblLCgj5mX5MH9o6l1I=
X-Received: by 10.202.73.65 with SMTP id w62mr257954oia.169.1504641933001;
 Tue, 05 Sep 2017 13:05:33 -0700 (PDT)
MIME-Version: 1.0
Sender: sunpoet@sunpoet.net
Received: by 10.202.252.5 with HTTP; Tue, 5 Sep 2017 13:04:52 -0700 (PDT)
In-Reply-To: <104e18ae-f0f5-a1f8-e0e4-c2aab582b1c3@FreeBSD.org>
References: <201709021423.v82ENcsI036241@repo.freebsd.org>
 <CAALwa8=YspdFEiq8s-GRf2XH=hyvh3RpA8Gzd2bH_SgeXfun0w@mail.gmail.com>
 <e1289401-d920-a753-f1a9-8042dc314eaf@ee.lbl.gov>
 <1504560120.1337.3.camel@freebsd.org>
 <24a21e8c-21eb-9241-d6b3-3259cd554ca4@ee.lbl.gov>
 <104e18ae-f0f5-a1f8-e0e4-c2aab582b1c3@FreeBSD.org>
From: Sunpoet Po-Chuan Hsieh <sunpoet@freebsd.org>
Date: Wed, 6 Sep 2017 04:04:52 +0800
X-Google-Sender-Auth: 37QjCUKaVfP0vIDWg2uiVvQ3c9k
Message-ID: <CAMHz58RWmjM4b=N5-GUkH7+LYU5M+qufZaPnjFuEhYGS8uyT3g@mail.gmail.com>
Subject: Re: svn commit: r449138 - in head: cad/freecad devel/libkolab
 graphics/qgis security/shibboleth2-sp sysutils/passwordsafe textproc/xerces-c3
To: Mathieu Arnold <mat@freebsd.org>
Cc: Craig Leres <leres@ee.lbl.gov>, Ian Lepore <ian@freebsd.org>, 
 Antoine Brodin <antoine@freebsd.org>, 
 "svn-ports-head@freebsd.org" <svn-ports-head@freebsd.org>, 
 "svn-ports-all@freebsd.org" <svn-ports-all@freebsd.org>, 
 "ports-committers@freebsd.org" <ports-committers@freebsd.org>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Content-Filtered-By: Mailman/MimeDel 2.1.23
X-BeenThere: svn-ports-all@freebsd.org
X-Mailman-Version: 2.1.23
Precedence: list
List-Id: SVN commit messages for the ports tree <svn-ports-all.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/svn-ports-all>,
 <mailto:svn-ports-all-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/svn-ports-all/>
List-Post: <mailto:svn-ports-all@freebsd.org>
List-Help: <mailto:svn-ports-all-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/svn-ports-all>,
 <mailto:svn-ports-all-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 05 Sep 2017 20:05:35 -0000

On Tue, Sep 5, 2017 at 3:02 PM, Mathieu Arnold <mat@freebsd.org> wrote:

> Le 05/09/2017 =C3=A0 01:18, Craig Leres a =C3=A9crit :
> > On 09/04/17 14:22, Ian Lepore wrote:
> >> I ran into this at $work, I think when we first switched from gcc to
> >> clang for our app builds.  I worked around it by adding
> >>
> >> CFLAGS+=3D -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS
> >>
> >> Basically, defining those symbols before #including stdint.h is what
> >> made SIZE_TYPE (and a few others) visible to a c++ compile.
> >
> > Good suggestion. Defining __STDC_LIMIT_MACROS before the first include
> > in src/xercesc/util/Base64.cpp allows it to compile.
> >
> > I'm not sure if this is helpful but attached is a patch to the port
> > Makefile that adds -D__STDC_LIMIT_MACROS to DEFS in src/Makefile.in
> > which seems to do the trick.
>
> It was, I just committed it :-)
>
>
Thanks!

Regards,
sunpoet


> --
> Mathieu Arnold
>
>