As per summary, the attached patch is needed to build metalog with GCC 4.1 on FreeBSD. The reason is that setprogname() function exists on BSD, and it's not static, so the static/non-static declarations clashes. Thanks, Diego
Created attachment 96789 [details, diff] metalog-0.8_rc1-gcc41.patch Forgot to say, requires an autoreconf.
looks good; send upstream if you havent already :p
Sent upstream and committed, thanks :)