#52601 closed defect (duplicate)
ghc compile error on sierra with Xcode 8.0 ( GetTime.c )
Reported by: | sonientaegi@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.4 |
Keywords: | Cc: | ||
Port: | ghc |
Description (last modified by mf2k (Frank Schima))
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.
Change History (3)
comment:1 Changed 8 years ago by sonientaegi@…
comment:2 Changed 8 years ago by mf2k (Frank Schima)
Keywords: | GetTime.c mach_timebase_info_data_t removed |
---|---|
Resolution: | → duplicate |
Status: | new → closed |
In the future, please use WikiFormatting and Cc the port maintainers (port info --maintainers ghc
), if any.
comment:3 Changed 8 years ago by mf2k (Frank Schima)
Description: | modified (diff) |
---|
Note: See
TracTickets for help on using
tickets.
I found ticket #52582 which already has issued. Please ignore mine.