Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 117060 - readline and stropts.h
Summary: readline and stropts.h
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Other (show other bugs)
Hardware: x86 Other
: High normal (vote)
Assignee: Gentoo/BSD Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-29 02:27 UTC by Benigno B. Junior (RETIRED)
Modified: 2006-04-12 10:50 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
readline-5.1-rlfe-uclibc.patch (readline-5.1-rlfe-uclibc.patch,1.24 KB, patch)
2006-02-08 03:28 UTC, Diego Elio Pettenò (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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