Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 117060

Summary: readline and stropts.h
Product: Gentoo/Alt Reporter: Benigno B. Junior (RETIRED) <bbj>
Component: OtherAssignee: Gentoo/BSD Team <bsd+disabled>
Status: RESOLVED FIXED    
Severity: normal CC: embedded
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Other   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: readline-5.1-rlfe-uclibc.patch

Description Benigno B. Junior (RETIRED) gentoo-dev 2005-12-29 02:27:41 UTC
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.
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-12-29 04:20:09 UTC
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.
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-02-08 03:27:15 UTC
As the patch involves uclibc, CCing embedded (wait I'll attach the proposed patch).
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-02-08 03:28:26 UTC
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..
Comment 4 SpanKY gentoo-dev 2006-02-08 07:12:05 UTC
thanks for the patch, i'll take care of it from here ...
Comment 5 SpanKY gentoo-dev 2006-02-08 19:16:44 UTC
fixed in cvs