Opened 13 years ago
Closed 13 years ago
#34278 closed defect (fixed)
Dominion @2.8.2 conflicting types for function 'getline'
Reported by: | icaines77@… | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.4 |
Keywords: | lion haspatch | Cc: | |
Port: | dominion |
Description
Building dominion on OS X 10.7 fails, with error message indicating a conflicting type for getline function, which is also defined in stdio.h. Seems similar to ticket #32082. Appears to be due to Lion adding the getline function into stdio.h.
A patch to rename the offending function in Lion is attached.
Attachments (3)
Change History (9)
Changed 13 years ago by icaines77@…
Changed 13 years ago by icaines77@…
Attachment: | patch-getline_conflict_fix.diff added |
---|
patch to rename getline() function that dominion defines.
comment:4 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | icaines77@… removed |
---|---|
Keywords: | haspatch added |
comment:5 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Owner: | changed from macports-tickets@… to ryandesign@… |
---|---|
Status: | new → assigned |
Thanks. The patch doesn't seem to cause any problems for earlier OS versions, so I'll apply it in all cases, not just on Lion and later. This will ensure that, if a maintainer running an earlier OS version later updates the port, they won't be able to inadvertently forget to update the patch.
comment:6 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
log file of failed build