The following definition in readline-5.1-rlfe-uclibc.patch: #if defined(HAVE_SVR4_PTYS) && !defined(__UCLIBC__) is not enough for Gentoo/NetBSD (probably for OpenBSD either). A solution can be done by using: #if defined(HAVE_SVR4_PTYS) && !defined(__UCLIBC__) && !defined(__NetBSD__) Please, someone check it on Gentoo/OpenBSD.
Don't CC alt when assigning to bsd if it does not change anything for other alt projects. This probably requires a bit of change in the autotools to make it recognize the case right.
As the patch involves uclibc, CCing embedded (wait I'll attach the proposed patch).
Created attachment 79213 [details, diff] readline-5.1-rlfe-uclibc.patch This version instead of basing the test on uclibc, adds the autofoo needed to check for the presence of the headers and should then work fine as is... if the problem with uclibc is the missing header and not an header present but broken..
thanks for the patch, i'll take care of it from here ...
fixed in cvs