On Fri, Jan 1, 2021 at 1:53 PM Tim Rühsen <[email protected]> wrote: > > On 01.01.21 19:50, Jeffrey Walton wrote: > > On Fri, Jan 1, 2021 at 1:42 PM Tim Rühsen <[email protected]> wrote: > >> > >> Hi Jeff, > >> > >> we recently updated gnulib for wget 1.21. > >> > >> Gnulib is C99 and at least in L288 it looks like your compiler doesn't > >> like a C99 construct. Possibly you need to explicitly switch on C99 mode !? > > > > I _think_ the only thing available nowadays on the PowerMacs is GCC 4.2.1. > > > > In the old days we could use a modern GCC or Clang from MacPorts. But > > the standard c++ library no longer builds on the PowerMac, so the > > compilers don't build. > > gcc 4.2.1 should be ok [1]. Try using > > CFLAGS=-std=gnu99 ./configure > ...
Here's the patch that sidesteps the issues using GCC 4.2.1 on the PowerMac, if interested: https://github.com/noloader/Build-Scripts/blob/master/patch/wget.patch Jeff
