[MacPorts] #62134: wget @1.21.1 does not build on PPC Leopard, Mac OS X 10.5.8, because of "error: 'for' loop initial declaration used outside C99 mode'"

MacPorts noreply at macports.org
Mon Jan 25 06:50:50 UTC 2021


#62134: wget @1.21.1 does not build on PPC Leopard, Mac OS X 10.5.8, because of
"error: 'for' loop initial declaration used outside C99 mode'"
------------------------+------------------------
  Reporter:  ballapete  |      Owner:  ryandesign
      Type:  defect     |     Status:  closed
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.6.4
Resolution:  fixed      |   Keywords:  leopard
      Port:  wget       |
------------------------+------------------------

Comment (by jmroot):

 Replying to [comment:11 ryandesign]:
 > This was reported to the developers here:
 >
 > https://lists.gnu.org/archive/html/bug-wget/2021-01/msg00004.html
 >
 > A similar patch was provided to the developers here:
 >
 > https://lists.gnu.org/archive/html/bug-wget/2021-01/msg00010.html \\
 > https://github.com/noloader/Build-Scripts/blob/master/patch/wget.patch
 >
 > I don't know if they wish to apply it. If not, requiring C99 mode per
 Ken's commit above is fine.

 A later message in that thread says that the code does require C99, and
 that the configure script should be adding -std=gnu99 to CFLAGS in these
 circumstances, and that the real bug is that it isn't.
 https://lists.gnu.org/archive/html/bug-wget/2021-01/msg00009.html

-- 
Ticket URL: <https://trac.macports.org/ticket/62134#comment:13>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list