In case one updates readline: same patch is required for readline-5.2 too (already in main tree).
/haubi/ On Thu, 2006-11-16 at 09:50 +0100, Michael Haubenwallner wrote: > Hi, > > emerging sys-libs/readline-5.1_p4 bails out with this error: > > i386-sun-solaris2.10-gcc -c -I. -I. -pipe -O2 rlfe.c > In file included from rlfe.c:76: > extern.h:31: error: expected '=', ',', ';', 'asm' or '__attribute__' before > '__P' > extern.h:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before > '__P' > rlfe.c: In function 'set_edit_mode': > rlfe.c:763: warning: incompatible implicit declaration of built-in function > 'index' > make: *** [rlfe.o] Error 1 > > > Reason is (compared with x86 Gentoo Linux), that Solaris does not > provide "#define __P" in system headers as found on Linux. > > Attached patch fixes that. > > /haubi/ -- Michael Haubenwallner SALOMON Automation GmbH Forschung & Entwicklung A-8114 Friesach bei Graz mailto:[EMAIL PROTECTED] http://www.salomon.at No HTML/MIME please, see http://expita.com/nomime.html -- [EMAIL PROTECTED] mailing list
