[blfs-book] [BLFS Trac] #4921: Fix xine-ui to build with readline 6.3

BLFS Trac trac at linuxfromscratch.org
Mon Apr 7 14:31:03 PDT 2014


#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



More information about the blfs-book mailing list