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

MacPorts noreply at macports.org
Tue Oct 9 22:48:12 UTC 2018


#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 Raptor007):

 I think you're right.  My copy of NSWindow.h doesn't have those lines.
 Perhaps the warning should be more specific about requiring SDK version
 10.7.3 or later.

 Where would you get a proper 10.7.5 SDK today?  One of my many gripes
 about the App Store is that as new versions are released old ones are no
 longer available, and one of my many gripes about Xcode is that it's only
 released through limited channels such as the App Store.

 I tried these sources, but neither has the new definitions in NSWindow.h
 required by libsdl2:
 https://github.com/phracker/MacOSX-SDKs
 https://github.com/AaronWallace/MacOSX_SDKs

 I could get a little farther in the build process by adding those lines
 from your comment to my NSWindow.h, but unsurprisingly it failed to find
 those symbols when linking.

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


More information about the macports-tickets mailing list