[MacPorts] #64655: libsdl2: find some version to use for Tiger and Leopard

MacPorts noreply at macports.org
Sat Aug 20 22:39:57 UTC 2022


#64655: libsdl2: find some version to use for Tiger and Leopard
---------------------------+----------------------------------------------
  Reporter:  barracuda156  |      Owner:  jmroot
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.7.2
Resolution:                |   Keywords:  powerpc leopard snowleopard lion
      Port:  libsdl2       |
---------------------------+----------------------------------------------
Changes (by mascguy):

 * status:  new => assigned
 * keywords:  powerpc, leopard => powerpc leopard snowleopard lion
 * version:  2.7.1 => 2.7.2
 * cc: mascguy (added)
 * owner:  (none) => jmroot


Comment:

 The latest update breaks 10.6 and 10.7 as well.

 For 10.7, compilation fails with:

 {{{
 libsdl2/work/SDL2-2.24.0/src/video/cocoa/SDL_cocoaevents.m:348:46:
 error: no visible @interface for 'NSBundle' declares the selector
 'loadNibNamed:owner:topLevelObjects:'
             success = [[NSBundle mainBundle] loadNibNamed:mainNibFileName
 owner:[NSApplication sharedApplication] topLevelObjects:nil];
                        ~~~~~~~~~~~~~~~~~~~~~
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1 error generated.
 }}}

 While the headers now disallow building on 10.6 and earlier:

 {{{
 include/SDL_platform.h:112:3: error: SDL for Mac OS X only supports
 deploying on 10.7 and above.
 # error SDL for Mac OS X only supports deploying on 10.7 and above.
   ^
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/64655#comment:26>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list