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
F82224899: D14137.id39898.diff
Fri, Apr 26, 5:32 PM
F82182019: D14137.id39898.diff
Fri, Apr 26, 6:13 AM
F82182008: D14137.id.diff
Fri, Apr 26, 6:13 AM
F82182001: D14137.id38689.diff
Fri, Apr 26, 6:13 AM
F82181987: D14137.id39268.diff
Fri, Apr 26, 6:12 AM
F82181979: D14137.id39667.diff
Fri, Apr 26, 6:12 AM
F82180818: D14137.id38981.diff
Fri, Apr 26, 6:06 AM
F82180811: D14137.id38889.diff
Fri, Apr 26, 6:06 AM
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

Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 14827
Build 14944: arc lint + arc unit

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.