[MacPorts] #64909: libaacs for PowerPC: how to rewrite __block code in standard C?
MacPorts
noreply at macports.org
Sat Jan 20 10:47:53 UTC 2024
#64909: libaacs for PowerPC: how to rewrite __block code in standard C?
---------------------------+-------------------------------------------
Reporter: barracuda156 | Owner: i0ntempest
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.7.2
Resolution: | Keywords: powerpc, leopard, snowleopard
Port: libaacs |
---------------------------+-------------------------------------------
Comment (by barracuda156):
Replying to [comment:1 ryandesign]:
> FYI:
>
> Here's what blocks are:
https://en.wikipedia.org/wiki/Blocks_(C_language_extension)
>
> Here's the ticket about gcc not supporting them yet:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78352
>
> Probably the only sane path forward for this is for gcc to implement
support for blocks. Then this port can use gcc to build on PowerPC. It's
probably unreasonable to expect upstream to abandon the useful blocks
feature in their code for the benefit of ancient systems, and it's
probably unreasonable for MacPorts to develop and carry forward forever a
large patch for this.
Thank you, Ryan, and I apologize for somehow missing your reply earlier.
While gcc seems to intend to implement the support for blocks (at least
according to Iain), I think for the time-being it is better to provide a
bit earlier version for PowerPC systems. 0.9.0 builds fine.
--
Ticket URL: <https://trac.macports.org/ticket/64909#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list