Summary: | net-dialup/minicom-2.3-r1 can not compile due to conflicting type for ‘getline’ | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | daveswen <daveswen> |
Component: | Current packages | Assignee: | Gentoo Dialup Developers <net-dialup> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | daveswen, jokey |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 270353 | ||
Attachments: |
minicom-2.3-getline-rename.patch
new patch for minicom updated ... |
Description
daveswen
2009-05-19 16:32:38 UTC
Please add bug 270353 to the bugs that this one blocks as that's the tracker for glibc-2.10 related bugs Created attachment 191837 [details, diff]
minicom-2.3-getline-rename.patch
Hi!
Here is an patch, which renames all getline() to _getline() functions.
Now I can compile with glibc 2.10.1
Btw, could someone add this bug please to the tracker? Thanks!
Thanks, added to CVS :) it works,thanks Created attachment 193855 [details, diff] new patch for minicom The patch here renames getline() to _getline(), which is bad - see 5th paragraph of [1]. This patch renames it to minic_getline() instead. Could you please use it instead? [1] http://blog.flameeyes.eu/2009/05/24/c-libraries-galore Created attachment 193856 [details, diff]
updated ...
missed one of the functions.
Reopening for a different patch method. Please consider. Adding jokey to CC because he was originally working on it. Hey! Net-mail guys, wake up! Albeit the problem solved in the updated patch is minor, it's still important that it gets merged. Else, why even have minicom in the tree if we're not going to maintain it? Fixed in 2.3-r2. FYI, we respond better to appellative "net-dialup guys". Oh, sorry my bad ... Thank you for the merge! :-) |