Created attachment 162099 [details] Log file of build failure argyllcms requires a C11 compiler, per the port Makefile. However, gcc48 still appears to default to C89, and does not define __STDC_VERSION__. This causes a build failure as shown in the attached log (redefinition of uint64_t). Somehow, '-std=c11' needs to be explicitly passed to gcc, though a simple 'CFLAGS+=-std=gnu11' to the port Makefile did not do anything, so the Jamfile probably needs to be patched somehow.
Created attachment 165841 [details] Patch to add -std=gnu11 to CCFLAGS This patch may not be entirely correct, as it's only been tested with gcc, not with clang. A simple solution could be to rename the patch and add it as a patchfile in the Makefile, conditional on CC being gcc*.
Created attachment 174973 [details] Full patch to get argyllcms building with gcc from ports This gets argyllcms building with gcc host compiler. It includes the patch from attachment 165841 [details], and also two Makefile changes.
A commit references this bug: Author: swills Date: Fri May 12 02:54:44 UTC 2017 New revision: 440675 URL: https://svnweb.freebsd.org/changeset/ports/440675 Log: graphics/argyllcms: Fix build on powerpc64 PR: 217215 [1] PR: 203806 [2] Submitted by: Curtis Hamilton [1] Submitted by: Justin Hibbits [2] Approved by: kwm (maintainer) Changes: head/graphics/argyllcms/Makefile head/graphics/argyllcms/files/patch-Jambase head/graphics/argyllcms/files/patch-ccast_axTLS_os__int.h
Committed, thanks!