Re: [MacPorts] #63667: lighttpd @1.4.60 does not build on PPC Leopard because ‘for’ loop initial declaration used outside C99 mode
MacPorts
noreply at macports.org
Fri Oct 29 17:04:23 UTC 2021
#63667: lighttpd @1.4.60 does not build on PPC Leopard because ‘for’ loop initial
declaration used outside C99 mode
------------------------+------------------------
Reporter: ballapete | Owner: ryandesign
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 2.7.1
Resolution: fixed | Keywords: leopard
Port: lighttpd |
------------------------+------------------------
Comment (by gstrauss):
@ryandesign Somewhat related, I posted some patches to
https://github.com/macports/macports-ports/pull/12658 to address the
compiler error for fdlog_st redefinition.
The first patch should be all you need to backport if you want to compile
lighttpd using older gcc compilers:
https://git.lighttpd.net/lighttpd/lighttpd1.4/commit/d361f9cca01a815951340a8d6a541d68f3800fb2
and this subsequent patch does a little more cleanup:
https://git.lighttpd.net/lighttpd/lighttpd1.4/commit/563eaea00d22157fe6d539efddd543560eac5ece
--
Ticket URL: <https://trac.macports.org/ticket/63667#comment:8>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list