Re: [MacPorts] #57642: p5.26-http-xsheaders: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’

MacPorts noreply at
Thu Jan 17 23:29:34 UTC 2019

#57642: p5.26-http-xsheaders: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘void’
  Reporter:  ryandesign         |      Owner:  dbevans
      Type:  defect             |     Status:  assigned
  Priority:  Normal             |  Milestone:
 Component:  ports              |    Version:
Resolution:                     |   Keywords:  leopard
      Port:  p5-http-xsheaders  |

Comment (by dbevans):

 Replying to [comment:4 kencu]:
 > changing the c standard to c99 instead of c89 fixed it as well, with
 FORTIFY_SOURCE=2, so that's the right fix. Also fixed the other one.
 > Not too sure what's different about 10.6+ though, at the moment.
 > Looks like patching Makefile.PL to force c99 is the way to go, I would
 say, unless someone sees a more elegant solution.

 LGTM, thanks for your help.  Can you go ahead and commit your changes?

Ticket URL: <>
MacPorts <>
Ports system for macOS

More information about the macports-tickets mailing list