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

MacPorts noreply at macports.org
Tue Oct 9 03:00:36 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 kencu):

 I think that's it -- your 10.7 SDK is not the last. I have this in my
 {{{
 /Developer/SDKs/MacOSX10.7.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h
 }}}
 {{{
 /* NSWindowDidChangeBackingPropertiesNotification is posted on 10.7.3 and
 later, when a window's backingScaleFactor and/or its colorSpace changes.
 When runing on a system version where this new notification is available,
 applications should use it instead of
 NSWindowDidChangeScreenProfileNotification to watch for changes to either
 of these backing store properties.  Many applications won't have any need
 to watch for this notification, but those that perform sophisticated color
 handling or manually manage their own caches of window-resolution-and/or
 /colorspace-appropriate bitmapped images will find this notification
 useful, as a prompt to invalidate their caches or schedule other
 reassessment for the new resolution and/or color space as needed.  The
 notification's userInfo dictionary specifies the window's previous
 backingScaleFactor and colorSpace.  You can compare these with the
 window's new backingScaleFactor and colorSpace at the time of the
 notification, to determine which of these two properties (potentially
 both) changed.
 */
 APPKIT_EXTERN NSString * const
 NSWindowDidChangeBackingPropertiesNotification NS_AVAILABLE_MAC(10_7); //
 added in 10.7.3; userInfo keys: NSBackingPropertyOldScaleFactorKey,
 NSBackingPropertyOldColorSpaceKey

 APPKIT_EXTERN NSString * const NSBackingPropertyOldScaleFactorKey
 NS_AVAILABLE_MAC(10_7); // added in 10.7.3; an NSNumber
 APPKIT_EXTERN NSString * const NSBackingPropertyOldColorSpaceKey
 NS_AVAILABLE_MAC(10_7);  // added in 10.7.3; an NSColorSpace
 }}}

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


More information about the macports-tickets mailing list