Page MenuHomeFreeBSD

Fixup devel/hs-c2hs and devel/hs-gtk2hs-buildtools to pass -std=c99 to the preprocessor
ClosedPublic

Authored by tcberner on Mar 21 2017, 6:53 PM.

Details

Summary

The ports using c2hs and gtk2hs fail to build with modern compilers as the c11 features of the FreeBSD system headers are not hidden, yet the tools only understand c99.

  • revert change to devel/hs-ncurses from r436451
  • patch devel/hs-c2hs to pass -std=c99.
  • patch devel/hs-gtk2-buildtools to pass -std=c99.

This should fix compilation of

  • devel/hs-ncurses
  • dns/hs-gnuidn
  • graphics/hs-cairo
  • x11-toolkits/hs-vte
  • devel/hs-gconf

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

tcberner created this revision.Mar 21 2017, 6:53 PM
rakuco accepted this revision.Mar 21 2017, 7:01 PM

More of a "I trust you know all this Haskell black magic" than an actual review :-)

This revision is now accepted and ready to land.Mar 21 2017, 7:01 PM
antoine accepted this revision.Mar 25 2017, 7:31 PM
antoine added a reviewer: gerald.

Please add to the commit log:
PR: 216707
Approved by: portmgr (antoine)

This revision was automatically updated to reflect the committed changes.