[MacPorts] #35316: frotz doesnt build under lion
MacPorts
noreply at macports.org
Thu Jul 26 00:30:04 PDT 2012
#35316: frotz doesnt build under lion
-------------------------------------+--------------------------------------
Reporter: robert.cohen@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.1
Keywords: | Port: frotz
-------------------------------------+--------------------------------------
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
--
Ticket URL: <https://trac.macports.org/ticket/35316>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list