Procmail's getline() conflicts with glibc getline().
|Reported by:||Ag. Hatzimanikas||Owned by:||Ag. Hatzimanikas|
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?