#4921: Fix xine-ui to build with readline 6.3
-----------------------------+-------------------------
Reporter: pierre.labastie | Owner: blfs-book@…
Type: enhancement | Status: new
Priority: normal | Milestone: 7.6
Component: BOOK | Version: SVN
Severity: normal | Keywords:
-----------------------------+-------------------------
Error (reported by Robin, on BLFS-support):
{{{
network.c: In function ‘main’:
network.c:1258:39: error: ‘CPPFunction’ undeclared (first use in this
function)
rl_attempted_completion_function = (CPPFunction *)completion_function;
^
network.c:1258:39: note: each undeclared identifier is reported only
once for each function it appears in
network.c:1258:52: error: expected expression before ‘)’ token
rl_attempted_completion_function = (CPPFunction *)completion_function;
^
network.c: At top level:
network.c:884:15: warning: ‘completion_function’ defined but not used
[-Wunused-function]
static char **completion_function(const char *text, int start, int end) {
}}}
I suppose the sed to use is:
{{{
sed -i s/CPPFunction/rl_completion_func_t/ src/xitk/network.c
}}}
--
Ticket URL: <http://wiki.linuxfromscratch.org/blfs/ticket/4921>
BLFS Trac <http://wiki.linuxfromscratch.org/blfs>
Beyond Linux From Scratch
--
http://linuxfromscratch.org/mailman/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page