[MacPorts] #20867: a2ps fails build on 10.6 (looks like stpcpy issue)

MacPorts noreply at macports.org
Mon Jan 11 00:48:17 PST 2010


#20867: a2ps fails build on 10.6 (looks like stpcpy issue)
-----------------------------------+----------------------------------------
  Reporter:  john_owens@…          |       Owner:  macports-tickets@…                   
      Type:  defect                |      Status:  closed                               
  Priority:  Normal                |   Milestone:                                       
 Component:  ports                 |     Version:                                       
Resolution:  fixed                 |    Keywords:  snowleopard                          
      Port:                        |  
-----------------------------------+----------------------------------------

Comment(by el_alquemista@…):

 Replying to [comment:1 toby@…]:
 > r56498
 Actually the reason for the error:
 xstrrpl.c:25:22: error: macro "stpcpy" requires 2 arguments, but only 1
 given
 xstrrpl.c:25: error: 'stpcpy' redeclared as different kind of symbol

 is that line 25 in xstrrpl.c is declaring stpcpy as an external function
 and the compiler is complaining about the function having only one
 argument.  I suspect stpcpy is now a macro instead of a function and the
 pre-processor is chocking on the external function declaration.  To fix
 the problem comment the external function declaration (line 25) out.

-- 
Ticket URL: <http://trac.macports.org/ticket/20867#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list