dbus fails on solaris. Adding -D_XOPEN_SOURCE=500 is necessary because of error: ‘struct msghdr’ has no member named ‘msg_controllen’. The patch because if XOPEN_SOURCE is defined the field is called d_fd not dd_fd.
Created attachment 212538 [details, diff] dbus-1.3.0-r1.ebuild.patch
Created attachment 212539 [details, diff] dbus-1-3-1-solaris.patch
I fixed this the other day differently: if [[ ${CHOST} == *-solaris* ]] ; then # struct msghdr doesn't include msg_controllen if _XPG4_2 isn't # defined (or the kernel view). To enable it, _XOPEN_SOURCE # must be set to 500. However, then we loose *DIR->dd_fd, so we # just do an ugly hack and enable the private macro. append-flags -D_XPG4_2 fi