[BLFS Trac] #3010: Procmail's getline() conflicts with glibc getline().

BLFS Trac trac at linuxfromscratch.org
Thu Jan 7 12:42:50 PST 2010


#3010: Procmail's getline() conflicts with glibc getline().
-------------------------------------+--------------------------------------
 Reporter:  ag@…                     |       Owner:  blfs-book@…                   
     Type:  task                     |      Status:  new                           
 Priority:  high                     |   Milestone:  future                        
Component:  BOOK                     |     Version:  SVN                           
 Severity:  normal                   |    Keywords:                                
-------------------------------------+--------------------------------------
 Procmail is one of the many packages that fails to build, because as of
 2.10 glibc has its own getline() function, since is defined in POSIX 2008.
 For procmail a simple sed can be used:


 {{{
 sed -i '/getline/get_line/' src/*.[ch]
 }}}

 This renames the getline function to get_line to the fields.c, formail.c
 formisc.c and formisc.h in the src directory.

 Is it ok to use the sed or should I make a patch for it?

-- 
Ticket URL: <http://wiki.linuxfromscratch.org/blfs/ticket/3010>
BLFS Trac <http://wiki.linuxfromscratch.org/blfs>
Beyond Linux From Scratch



More information about the blfs-book mailing list