[MacPorts] #52210: libsdl2: make it build on 10.6 (against 10.6 SDK)

MacPorts noreply at macports.org
Sun Dec 11 09:40:26 CET 2016


#52210: libsdl2: make it build on 10.6 (against 10.6 SDK)
-------------------------------------+-------------------------
  Reporter:  kenneth.f.cunningham@…  |      Owner:  jmroot
      Type:  defect                  |     Status:  new
  Priority:  Low                     |  Milestone:
 Component:  ports                   |    Version:
Resolution:                          |   Keywords:  snowleopard
      Port:  libsdl2                 |
-------------------------------------+-------------------------

Comment (by mojca):

 I almost forgot about this ticket. I didn't check the patches for
 `include/SDL_config.h` yet, but the rest seems like completely reasonable
 patching.

 The patch uses
 {{{
 #!c
 #if MAC_OS_X_VERSION_MIN_REQUIRED
 }}}
 while Jeremy suggested
 {{{
 #!c
 #if __MAC_OS_X_VERSION_MAX_ALLOWED
 }}}
 I always mix up the difference between the two (the idea is mostly the
 same, just different use case) and I guess Jeremy knows better.

 Thanks a lot for the good news. It probably makes sense to test that patch
 (and perhaps look at my observations above), first on 10.6, then on 10.5,
 and submit it upstream.

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


More information about the macports-tickets mailing list