Opened 8 years ago

Last modified 4 years ago

#12617 closed bug

Merge all instances of BSD headers into one place (WIP/Help requested) — at Version 1

Reported by: TwoFx Owned by: korli
Priority: normal Milestone: R1/beta2
Component: Build System Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description (last modified by diver)

BSD library headers exist in several places, most notably /headers/compatibility/bsd/ and /src/libs/compat/freebsd_network/compat. The latter is a significantly more complete version, but it is unavailable to normal apps outside the tree. Making these headers available is crucial for being able to port applications which natively run on BSD to Haiku.

I have attached a WIP of merging the sys/ and machine/ folders of compatibility and freebsd_network to compatibility, where they would be available to all apps which want to use them.

As you can see, this change is quite involved. In particular, the freebsd_network headers will depend on the compatibility/bsd headers, which means that all instances in the tree that use the freebsd_network headers need to have their Jamfile modified. I did that for a handful of instances where this comes up, but before I continued doing this change, I wanted to ask for comments whether this change is desirable in general.

Change History (2)

by TwoFx, 8 years ago

Attachment: bsd.patch added

comment:1 by diver, 8 years ago

Component: - GeneralBuild System
Description: modified (diff)
Milestone: UnscheduledR1
Owner: changed from nobody to korli
Status: newassigned
Note: See TracTickets for help on using tickets.