#3010: Procmail's getline() conflicts with glibc getline().
-------------------------------------+--------------------------------------
 Reporter:  a...@…                     |       Owner:  blfs-b...@…              
     
     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
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to