Closed yobson closed 2 years ago
Please send a PR.
The PR should be sent after #535 is resolved. I don't want to modify the same part with two ways at the same time.
I've tested with a newer version of the network package and it is resolved already!
I'm trying to boostrap cabal 3.6.2.0 on OmniOS and it is failing to build the network package
What's interesting is that it checks weather msghdr has the msg_control member, and correctly determines that it doesn't, but then continues assuming that it's there.
Should it fail on configure? Or should it build differently? Also, is this a failure on the part of cabal?
EDIT: Investigation continues
in Network/Socket/Posix/MsgHdr.hsc, We have the following:
The comment makes me feel as if thought was given to solaris based OSs, but not a full implementation.
I don't know much about this code base, but could we guard on the CPP def
HAVE_STRUCT_MSGHDR_MSG_CONTROL
just the lines that break on solaris without breaking anything? If so, I'm happy to write a patchJames