Opened 12 years ago

Last modified 12 years ago

#35316 closed defect

frotz doesnt build under lion — at Initial Version

Reported by: robert.cohen@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.1
Keywords: haspatch lion mountainlion Cc:
Port: frotz

Description

The package frotz no longer builds under lion. It appears the function getline now clashes with a MacOS function. Should be a trivial patch to rename the getline function to something like getline_local.

The build error log is

:info:build src/dumb/dumb_input.c:83: error: conflicting types for ‘getline’ :info:build /usr/include/stdio.h:449: error: previous declaration of ‘getline’ was here :info:build src/dumb/dumb_input.c: In function ‘dumb_read_line’: :info:build src/dumb/dumb_input.c:263: warning: field precision should have type ‘int’, but argument 2 has type ‘long int’ :info:build src/dumb/dumb_input.c:263: warning: field precision should have type ‘int’, but argument 2 has type ‘long int’ :info:build make: * [src/dumb/dumb_input.o] Error 1

Change History (0)

Note: See TracTickets for help on using tickets.