Hey ho, attached you can find a simple patch that removes a malloc.h include in linuxdoc-tools sources, as that's deprecated for almost every libc but GLIBC and UCLIBC, and replaces it with stdlib.h that is where malloc() is supposedly defined. This is a standard patch that I've applied on other sources before and it's just fine. As an extra, the ebuild forces CFLAGS during make stage so that the choices of the user are respected. HTH, Diego
Created attachment 96163 [details, diff] Ebuild patch
Created attachment 96164 [details, diff] linuxdoc-tools-0.9.21-malloc.patch
Feel free to commit the patch Diego. Thanks.
Thanks Leonardo, patch merged and keyworded added :)