Currently only SDL based Ghost available.
Does defining _BSD_SOURCE or _DEFAULT_SOURCE in the CMAKE_C_FLAGS resolve this? see: https://stackoverflow.com/questions/9241538 & http://man7.org/linux/man-pages/man3/readdir.3.html
Yes, native Ghost support. SDL isn't ideal. Here is the earlier patches: https://github.com/haikuports/haikuports/blob/master/media-gfx/blender/patches/blender-2.49b.patch
Lot of things changed, it doesn1t applies cleanly anymore, so i'm plan to try to resurect this.
I suppose : yes.
Regarding Ghost - its already quite a bit of overhead to support 4x different backends when updating ghost.
I would really prefer to have Haiku use & improve SDL (or maintain Ghost changes in a branch).
Currently Haiku is a very niche system, so I'd rather not add avoidable maintenance overhead.
Especially when its not clear if there are many/any active users on the platform.
If it becomes more popular with users we can always re-evaluate this.
This can be added to CMAKE_C_FLAGS, CMAKE_CXX_FLAGS then.
Bah, the test-build just failed.
As you told, i tried to add -D_BSD_SOURCE to the CFLAGS, but the problem was actually with d_type:
"error: const struct dirent has no member named 'd_type'"
It is just not available on Haiku.
So the current patchset is broken on Haiku. Should i revert it to the earlier version?