Page MenuHomeFreeBSD

Work around the lack of definition of union semun per POSIX.
ClosedPublic

Authored by brooks on Jan 30 2018, 9:22 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Sep 26, 5:57 AM
Unknown Object (File)
Thu, Sep 24, 3:36 PM
Unknown Object (File)
Thu, Sep 24, 8:13 AM
Unknown Object (File)
Thu, Sep 24, 7:15 AM
Unknown Object (File)
Thu, Sep 24, 7:14 AM
Unknown Object (File)
Wed, Sep 23, 4:48 PM
Unknown Object (File)
Mon, Sep 21, 11:28 PM
Unknown Object (File)
Wed, Sep 16, 9:45 PM
Subscribers
None

Details

Summary

When feasible do this by adding -D_WANT_SEMUN to CFLAGS or CXXFLAGS.
Where this fails due to ports not honoring C*FLAGS, patch using
__FreeBSD_version to enable the definition.

NOTE: the patches currently use the un-updated __FreeBSD_version value. This will be corrected at commit time.

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

  • One more -D_WANT_SEMUN after new exprun.
  • Work around the need for union semun, lack of mymsg, and struct name changes
  • Rebase
  • Remove no longer needed patches (fixed upstream and port updated).
  • Update __FreeBSD_version to anticipated value.
This revision was not accepted when it landed; it landed in state Needs Review.Mar 2 2018, 10:35 PM
This revision was automatically updated to reflect the committed changes.