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

Bug 504208

Summary: media-video/xine-ui with =sys-libs/readline-6.3 - network.c:1258:39: error: ‘CPPFunction’ undeclared (first use in this function)
Product: Gentoo Linux Reporter: Dmitry Derevyanko <nrndda>
Component: Current packagesAssignee: Gentoo Media-video project <media-video>
Status: RESOLVED FIXED    
Severity: normal CC: josef64, nrndda
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 503364    
Attachments: Possible fix.

Description Dmitry Derevyanko 2014-03-11 13:44:05 UTC
network.c: In function ‘main’:
network.c:1258:39: error: ‘CPPFunction’ undeclared (first use in this function)
   rl_attempted_completion_function = (CPPFunction *)completion_function;

Replacing CPPFunction with rl_completion_func_t fixes build.

Reproducible: Always
Comment 1 Dmitry Derevyanko 2014-03-11 13:45:37 UTC
Created attachment 372382 [details, diff]
Possible fix.
Comment 2 Neil Bothwick 2014-03-31 12:57:19 UTC
The patch worked for me, thanks!
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2014-07-25 19:23:49 UTC
fixed in portage for 0.99.8