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.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Apr 17, 6:34 AM
Unknown Object (File)
Wed, Apr 17, 6:34 AM
Unknown Object (File)
Wed, Apr 17, 6:34 AM
Unknown Object (File)
Wed, Apr 17, 3:26 AM
Unknown Object (File)
Tue, Apr 9, 10:57 AM
Unknown Object (File)
Sun, Apr 7, 5:08 PM
Unknown Object (File)
Thu, Mar 28, 11:00 AM
Unknown Object (File)
Feb 26 2024, 9:33 PM
Subscribers
None

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
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

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 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.