#3010 closed task (fixed)
Procmail's getline() conflicts with glibc getline().
Reported by: | Ag. Hatzimanikas | Owned by: | Ag. Hatzimanikas |
---|---|---|---|
Priority: | high | Milestone: | x-future |
Component: | BOOK | Version: | SVN |
Severity: | normal | Keywords: | |
Cc: |
Description ¶
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?
Change History (4)
comment:1 by , 15 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:2 by , 15 years ago
I feel seds are preferable to patches. They are more visible and don't require a separate download. When we get to a point where several seds are required, then it's a judgment call when to transition to a patch.
Note:
See TracTickets
for help on using tickets.
A small correction,