Created attachment 28994 [details] [review] use xgethostname() dbus-c++ fails to build on GNU/kFreeBSD (and probably FreeBSD as well) due to unconditional use of HOST_NAME_MAX. Attached patch resolves the problem by removing the need for max hostname length assumption. Instead of using gethostname(), one just needs to use xgethostname(). More details are available at http://bugs.debian.org/542887
Note xgethostname.c is obtained from Gnulib (http://www.gnu.org/software/gnulib/)
dbus-c++ <http://sourceforge.net/projects/dbus-cplusplus/> has its own bug tracker and is no longer hosted here. Please open a bug over there.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.