svn commit: r449138 - in head: cad/freecad devel/libkolab graphics/qgis security/shibboleth2-sp sysutils/passwordsafe textproc/xerces-c3
Mathieu Arnold
mat at FreeBSD.org
Tue Sep 5 07:02:54 UTC 2017
Le 05/09/2017 à 01:18, Craig Leres a écrit :
> 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+= -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 :-)
--
Mathieu Arnold
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/svn-ports-head/attachments/20170905/674ea2cf/attachment.sig>
More information about the svn-ports-head
mailing list