[haiku-bugs] Re: [Haiku] #12617: Merge all instances of BSD headers into one place (WIP/Help requested)

  • From: "TwoFx" <trac@xxxxxxxxxxxx>
  • Date: Mon, 25 Jan 2016 21:30:21 -0000

#12617: Merge all instances of BSD headers into one place (WIP/Help requested)
----------------------------+----------------------------
   Reporter:  TwoFx         |      Owner:  korli
       Type:  bug           |     Status:  assigned
   Priority:  normal        |  Milestone:  R1
  Component:  Build System  |    Version:  R1/Development
 Resolution:                |   Keywords:
 Blocked By:                |   Blocking:
Has a Patch:  0             |   Platform:  All
----------------------------+----------------------------

Comment (by TwoFx):

 The software I am porting that this ticked originated from is
 [http://sourceforge.net/p/elftoolchain/wiki/Home/ elftoolchain]. You are
 right that the change as put in the patch provided is in many ways
 incomplete (and some of the files moved probably should stay in their
 original location). However, many of the headers are header-only, i.e.
 they consist of struct definitions, macros, and inline functions, so no
 additional functionality has to be provided by libbsd.so. The entirety of
 the headers required by elftoolchain (as far as I can tell) fall into that
 category. Those headers include sys/queue.h and sys/endian.h, which I
 would consider useful in a wide range of userland applications, which is
 why they, IMHO, should be available to all userland applications. Those in
 turn include more headers, and so forth, which is how the idea of just
 merging the two altogether came up in the first place.

--
Ticket URL: <https://dev.haiku-os.org/ticket/12617#comment:3>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: