[MacPorts] #63868: tk @8.6.12: error: use of undeclared identifier 'NSBitmapFormatAlphaFirst'
MacPorts
noreply at macports.org
Tue Nov 9 00:26:38 UTC 2021
#63868: tk @8.6.12: error: use of undeclared identifier 'NSBitmapFormatAlphaFirst'
------------------------+---------------------------------
Reporter: macdeport | Owner: MarcusCalhoun-Lopez
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.7.1
Resolution: | Keywords: yosemite
Port: tk |
------------------------+---------------------------------
Comment (by chrstphrchvz):
Usually one of the lead upstream developers for Mac would test Tk going
back to 10.6, but I guess this change made it to the release untested on
older macOS. I will submit a patch for this shortly, using their likely
preferred approach of predefining the old constant name to the value of
the new constant in macosx/tkMacOSXConstants.h (so as to avoid deprecation
warnings on newer macOS), and use `NSAlphaFirstBitmapFormat` instead of
`NSBitmapFormatAlphaFirst ` in macosx/tkMacOSXImage.c.
--
Ticket URL: <https://trac.macports.org/ticket/63868#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list