[MacPorts] #67666: libsdl2: builds fail for 10.7/10.8:

MacPorts noreply at macports.org
Wed Jun 21 12:05:34 UTC 2023


#67666: libsdl2: builds fail for 10.7/10.8:
---------------------+----------------------
 Reporter:  mascguy  |      Owner:  jmroot
     Type:  defect   |     Status:  assigned
 Priority:  Normal   |  Milestone:
Component:  ports    |    Version:  2.8.1
 Keywords:           |       Port:  libsdl2
---------------------+----------------------
 Details (absolute paths truncated for readability):

 {{{
 libsdl2/work/SDL2-2.28.0/src/video/cocoa/SDL_cocoamessagebox.m:60:43:
 error: expected ')'
                       completionHandler:^(NSModalResponse returnCode) {
                                           ^
 libsdl2/work/SDL2-2.28.0/src/video/cocoa/SDL_cocoamessagebox.m:60:42:
 note: to match this '('
                       completionHandler:^(NSModalResponse returnCode) {
                                          ^
 libsdl2/work/SDL2-2.28.0/src/video/cocoa/SDL_cocoamessagebox.m:60:41:
 warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
                       completionHandler:^(NSModalResponse returnCode) {
                                         ^
 libsdl2/work/SDL2-2.28.0/src/video/cocoa/SDL_cocoamessagebox.m:61:50:
 error: use of undeclared identifier 'returnCode'
                         [NSApp stopModalWithCode:returnCode];
                                                  ^
 libsdl2/work/SDL2-2.28.0/src/video/cocoa/SDL_cocoamessagebox.m:59:10:
 error: no visible @interface for 'NSAlert' declares the selector
 'beginSheetModalForWindow:completionHandler:'
         [alert beginSheetModalForWindow:nswindow
          ^
 2 warnings and 3 errors generated.
 make: *** [build/SDL_cocoamessagebox.lo] Error 1
 }}}

 https://ports.macports.org/port/libsdl2/details/

-- 
Ticket URL: <https://trac.macports.org/ticket/67666>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list