Opened 4 years ago
Last modified 4 years ago
#62455 assigned defect
pngpaste: error: use of undeclared identifier 'NSBitmapImageFileTypeGIF'
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | telotortium (Robert Irelan) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | elcapitan yosemite mavericks mountainlion lion snowleopard leopard tiger | Cc: | |
Port: | pngpaste |
Description
pngpaste doesn't build on OS X 10.11 or earlier:
pngpaste.m:108:45: error: use of undeclared identifier 'NSBitmapImageFileTypeGIF' @"gif": [NSNumber numberWithInt:NSBitmapImageFileTypeGIF], ^ pngpaste.m:109:46: error: use of undeclared identifier 'NSBitmapImageFileTypeJPEG' @"jpeg": [NSNumber numberWithInt:NSBitmapImageFileTypeJPEG], ^ pngpaste.m:110:45: error: use of undeclared identifier 'NSBitmapImageFileTypeJPEG' @"jpg": [NSNumber numberWithInt:NSBitmapImageFileTypeJPEG], ^ pngpaste.m:111:45: error: use of undeclared identifier 'NSBitmapImageFileTypePNG' @"png": [NSNumber numberWithInt:NSBitmapImageFileTypePNG], ^ pngpaste.m:112:45: error: use of undeclared identifier 'NSBitmapImageFileTypeTIFF' @"tif": [NSNumber numberWithInt:NSBitmapImageFileTypeTIFF], ^ pngpaste.m:113:46: error: use of undeclared identifier 'NSBitmapImageFileTypeTIFF' @"tiff": [NSNumber numberWithInt:NSBitmapImageFileTypeTIFF], ^ pngpaste.m:116:49: error: use of undeclared identifier 'NSBitmapImageFileTypePNG' NSBitmapImageFileType bitmapImageFileType = NSBitmapImageFileTypePNG; ^ 7 errors generated.
These things were introduced in macOS 10.12.
If the port can be fixed to compile on earlier systems, great. If not, please mark it as incompatible with those older systems using a pre-fetch block. For an example of how to do that, look in the mongodb Portfile.
Change History (1)
comment:1 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)
Keywords: | elcapitan yosemite mavericks mountainlion lion snowleopard leopard tiger added |
---|---|
Owner: | set to telotortium |
Status: | new → assigned |
Note: See
TracTickets for help on using
tickets.