GNOME Bugzilla – Bug 584176
build fixes on FreeBSD
Last modified: 2009-06-02 04:11:25 UTC
There are a few modifications that need to be made to gio modules for successful builds on FreeBSD. gio/libasyncns/asyncns.c: getrlimit() requires <sys/resource.h> (see also: http://www.freebsd.org/cgi/man.cgi?query=getrlimit&sektion=2) gio/gresolver.c: EAI_NODATA was removed from <netdb.h> in FreeBSD in 2004. See http://www.freebsd.org/cgi/query-pr.cgi?pr=61369 - according to one of the ISC guys EAI_NODATA is not a portable symbol, so it needs an #ifdef around it. gio/gsocket.c: getsockopt() and friends requires <sys/socket.h> (see also: http://www.freebsd.org/cgi/man.cgi?query=getrlimit&sektion=2) gio/gunixresolver.c: <resolv.h> requires <netinet/in.h> (see also: http://www.freebsd.org/cgi/man.cgi?query=resolver&sektion=3)
Created attachment 135557 [details] [review] Misc networking build fixes Can you try this out and see if it works for you? (This includes some build fixes from another bug as well.)
Applies cleanly, builds successfully, looks good.
committed