Compiling using 4.0.2 gives error message: fetch.c:66: error: array type has incomplete element type
Created attachment 79901 [details, diff] mailutils-0.6-imap4d-gcc4.0-ftbfs.patch
Created attachment 79902 [details] mailutils-0.6-r2.ebuild
committed as mailutils-0.6-r3.ebuild. Thank you for the patch. Best regards, Tuan Van