Opened 11 years ago

Last modified 11 years ago

#37056 closed defect

elvis fails on Lion — at Version 1

Reported by: Crosmatron Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: haspatch maintainer Cc:
Port: elvis

Description (last modified by ryandesign (Ryan Carsten Schmidt))

elvis fails to compile on Lion and Mountain Lion due to getline():

:info:build ref.c:45:14: error: static declaration of 'getline' follows non-static declaration
:info:build static char *getline(FILE *fp);

Change History (3)

Changed 11 years ago by Crosmatron

Attachment: patch-src-ref.c.diff added

Patch to fix compilation.

Changed 11 years ago by Crosmatron

Attachment: Portfile-elvis.diff added

Suggested Portfile changes

comment:1 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: haspatch added
Note: See TracTickets for help on using tickets.