Created attachment 294793 [details] Build log of proftpd-1.3.3g The build log is attached.
Created attachment 294797 [details, diff] patch for src/wtmp.c Patch to compile wtmp.c source.
Created attachment 294799 [details, diff] patch for proftpd-1.3.3g.ebuild Patch for proftpd-1.3.3g.ebuild to compile on Gentoo/FreeBSD
Tibor Vago, thank you for your report. With the ProFTPD 1.3.4 series (currently ProFTPD 1.3.4a in ~arch) I added support for Gentoo/FreeBSD. There I already fixed the "(auto)shadow issue". Hence please test ProFTPD 1.3.4a and report any build failures (including wtmp.c) and other issues back. Maybe the wtmp.c failure was fixed upstream. Thanks.
Created attachment 295579 [details] build.log for =proftpd-1.3.4a on sparc-fbsd9.0-rc3 It compiles fine on amd64-fbsd but not on sparc-fbsd.
In order to fix this build failure I opened ProFTPD Bug #3728 [1]. As soon as there is a backported patch I will fix this issue in ProFTPD 1.3.4a. [1] http://bugs.proftpd.org/show_bug.cgi?id=3728
Patch applied to 1.3.4a in tree, thanks!