Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 504208 - media-video/xine-ui with =sys-libs/readline-6.3 - network.c:1258:39: error: ‘CPPFunction’ undeclared (first use in this function)
Summary: media-video/xine-ui with =sys-libs/readline-6.3 - network.c:1258:39: error: ‘...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: readline-6.3
  Show dependency tree
 
Reported: 2014-03-11 13:44 UTC by Dmitry Derevyanko
Modified: 2014-07-25 19:23 UTC (History)
2 users (show)

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


Attachments
Possible fix. (readline.patch,420 bytes, patch)
2014-03-11 13:45 UTC, Dmitry Derevyanko
Details | Diff

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