From owner-svn-ports-head@freebsd.org Tue Sep 5 20:05:34 2017 Return-Path: Delivered-To: svn-ports-head@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 E4443E1CA09 for ; 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 5A9047F2EC for ; Tue, 5 Sep 2017 20:05:33 +0000 (UTC) (envelope-from sunpoet@sunpoet.net) Received: by mail-oi0-x22d.google.com with SMTP id n18so31053872oig.2 for ; 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=IAQiYgoXJRGzb8ZcON0wopaZEn1e4d9LVu4Z6eJhvwwgoXFt2VD9uIs9oA7Y04k+xU 72lwjP58WfXBgjUf2mb0/DuxAnKBrs1yGLi9BhViwplVY14MVCm16YCmLvu2nsm5jbMZ 2OOd7RgmwpN8h7Nfh7C6OunBGKGp27YX0ydKsR+qnHDiKHO5UTTqVuaUXi/QjqXkOrFo DwJKDyiPDFGIpnvqClifOTHXctfQhCoKeEGN8TOSeealkQzF++MXWOm+IIYcAqSfmSrI IijZbVbtZWfi8sVxT/EZPnrsWGfQBKhdsB5zQSYzISN7VcuNWqmROuXI9cNglx/IVQUu iHSw== X-Gm-Message-State: AHPjjUiiN7EfVAI95loUHZ5tSzgUtf4FYrrX4m2xgo0AAHYxfUEi4e1y Bi6pRZZsm4/FFgWhrG26mZ2jHKweHNf/ 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> <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 Date: Wed, 6 Sep 2017 04:04:52 +0800 X-Google-Sender-Auth: 37QjCUKaVfP0vIDWg2uiVvQ3c9k Message-ID: Subject: Re: svn commit: r449138 - in head: cad/freecad devel/libkolab graphics/qgis security/shibboleth2-sp sysutils/passwordsafe textproc/xerces-c3 To: Mathieu Arnold Cc: Craig Leres , Ian Lepore , Antoine Brodin , "svn-ports-head@freebsd.org" , "svn-ports-all@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-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Sep 2017 20:05:35 -0000 On Tue, Sep 5, 2017 at 3:02 PM, Mathieu Arnold 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 > >