Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Oct 2015 20:00:42 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 203806] graphics/argyllcms fails to build with gcc
Message-ID:  <bug-203806-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203806

            Bug ID: 203806
           Summary: graphics/argyllcms fails to build with gcc
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: kwm@FreeBSD.org
          Reporter: jhibbits@FreeBSD.org
          Assignee: kwm@FreeBSD.org
             Flags: maintainer-feedback?(kwm@FreeBSD.org)

Created attachment 162099
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=162099&action=edit
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.

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-203806-13>