Skip to content

Fix `glib`'s patch

Josh Megnauth requested to merge josh/cookbook:fix-glib into master

glib stopped compiling after relibc implemented netinet/in.h.

Autotools detects the header, but the header is hard commented out via the patch so compilation fails.

Besides that, now that the header exists there are a few structs that glib expects. I implemented these in a separate relibc patch.

With that said, I'm not entirely sure if Redox supports the automatically enabled feature. relibc exports MCAST_JOIN_SOURCE_GROUP which causes Autotools to enable some extra multicast features. The structs I added are for that feature (except sockaddr_storage which is something we should have anyway). In any case, it compiles now. 🤔

Edited by Josh Megnauth

Merge request reports