I’ve added the line to the www/apache24/Makefile , but the result is still the same. Maybe I missed something. gcc is the lang/gcc5 compiled from 2017Q2
CFLAGS.SunOS+= -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1
* On 2017-08-07 at 17:49 BST, Michel Jansens wrote:
Thanks for all.
For the Apache24 problem, I think its coming from
42 CFLAGS.SunOS+= -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1
Specifically the first part -D_XOPEN_SOURCE : when I remove it, it works
Ok, so for some reason your GCC5 is compiling in C99 mode by default.
If you change the CC_VERSION line just above that to be 5-9 does it
If so we'll need to dig into this a bit further to see how we can
better detect them.
Jonathan Perkin - Joyent, Inc. - www.joyent.com