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

Bug 503600

Summary: <dev-perl/Term-ReadLine-Gnu-1.220.0 with =sys-libs/readline-6.3 - Gnu.xs:63:1: erreur: unknown type name ‘Function’ extern Function *rl_last_func;
Product: Gentoo Linux Reporter: Guillaume Castagnino <casta>
Component: [OLD] DevelopmentAssignee: Gentoo Perl team <perl>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://cpansearch.perl.org/src/HAYASHI/Term-ReadLine-Gnu-1.22/Changes
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 503364    

Description Guillaume Castagnino 2014-03-06 10:41:55 UTC
=dev-perl/Term-ReadLine-Gnu-1.200.0 needs fix with readline 6.3:

Gnu.xs:63:1: erreur: unknown type name ‘Function’
 extern Function *rl_last_func;
 ^
Gnu.xs:63:18: erreur: conflicting types for ‘rl_last_func’
 extern Function *rl_last_func;
                  ^
In file included from Gnu.xs:28:0:
/usr/include/readline/readline.h:544:27: note: previous declaration of ‘rl_last_func’ was here
 extern rl_command_func_t *rl_last_func;
                           ^
Gnu.xs:488:3: erreur: unknown type name ‘Function’
   Function **rlfuncp;  /* GNU Readline Library variable */
   ^
Gnu.xs:489:3: erreur: unknown type name ‘Function’
   Function *defaultfn;  /* default function */
   ^
Gnu.xs:490:3: erreur: unknown type name ‘Function’
   Function *wrapper;  /* wrapper function */
   ^
Gnu.xs:493:3: attention : initialization from incompatible pointer type [enabled by default]
   { &rl_startup_hook, NULL, startup_hook_wrapper, NULL }, /* 0 */
   ^





The fix is easy, simply bump to Term-ReadLine-Gnu-1.22: fix is included !
Comment 1 SpanKY gentoo-dev 2014-03-09 07:02:00 UTC
should be all set now in the tree; thanks for the report!

Commit message: Version bump for readline-6.3 support
http://sources.gentoo.org/dev-perl/Term-ReadLine-Gnu/Term-ReadLine-Gnu-1.220.0.ebuild?rev=1.1