#52601: ghc compile error on sierra with Xcode 8.0 ( GetTime.c ) -------------------------------------------------+------------------------- Reporter: sonientaegi@… | Owner: macports- Type: defect | tickets@… Priority: Normal | Status: new Component: ports | Milestone: Keywords: GetTime.c mach_timebase_info_data_t | Version: 2.3.4 | Port: ghc -------------------------------------------------+------------------------- Install ghc on sierra with Xcode 8.0 will meet compile error : :info:build rts/posix/GetTime.c:44:5: :info:build error: use of undeclared identifier 'mach_timebase_info_data_t' :info:build mach_timebase_info_data_t info; Luckily this was already patched on ghc haskel mirror on GitHub : https://github.com/ghc/ghc/commit/b7b130c5102948b38aaba723044288e16a80d492 I manually altered source referencing this fix and could solve this compile error. -- Ticket URL: <https://trac.macports.org/ticket/52601> MacPorts <https://www.macports.org/> Ports system for the Mac operating system