`man 3 asprintf` claims that asprintf() is available under both GNU and *BSD systems, but it is not available when using bsd/stdio.h. This provides the following QA notice when compiling a port of btxld: * QA Notice: Package triggers severe warnings which indicate that it * may exhibit random runtime failures. * btxld.c:557:2: warning: implicit declaration of function 'asprintf' [-Wimplicit-function-declaration] It looks like we can turn this on by setting __USE_GNU, but that would have consequences beyond providing asprintf(). It might be easier to patch the bsd/stdio.h header to provide a asprintf() function prototype, but the correct solution probably requires more thinking.
After filing this report to... http://bugs.freedesktop.org/enter_bug.cgi?product=libbsd ...please include the link in the "See also: " field and CC freedesktop-bugs@gentoo.org in the upstream bugzilla. Thanks!
ping?
I receive so much bug mail that I missed your responses. Anyway, I have filed the upstream bug as you requested.
https://bugs.freedesktop.org/show_bug.cgi?id=57643#c1
(In reply to Samuli Suominen from comment #4) > https://bugs.freedesktop.org/show_bug.cgi?id=57643#c1 Upstream closed the bug because of no response -> https://bugs.freedesktop.org/show_bug.cgi?id=57643#c2