[MacPorts] #52210: libsdl2: make it build on 10.6 (against 10.6 SDK)
MacPorts
noreply at macports.org
Sat Oct 6 00:52:44 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):
Are any tricks required for 10.6.8 now other than installing
MacOSX10.7.sdk? Mine is still failing to build:
{{{
:info:build libtool: compile: /opt/local/bin/clang-mp-3.4 -Os
-isysroot/Developer/SDKs/MacOSX10.7.sdk -arch x86_64 -arch i386
-I/opt/local/include -isysroot/Developer/SDKs/MacOSX10.7.sdk
-DUSING_GENERATED_CONFIG_H -Iinclude
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libsdl2/libsdl2/work/SDL2-2.0.8/include
-idirafter
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libsdl2/libsdl2/work/SDL2-2.0.8/src/video/khronos
-mmmx -msse -msse2 -msse3 -Wall -DTARGET_API_MAC_CARBON
-DTARGET_API_MAC_OSX -fvisibility=hidden -Wdeclaration-after-statement
-Werror=declaration-after-statement -D_THREAD_SAFE -c
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libsdl2/libsdl2/work/SDL2-2.0.8/src/video/cocoa/SDL_cocoavideo.m
-o build/SDL_cocoavideo.o >/dev/null 2>&1
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libsdl2/libsdl2/work/SDL2-2.0.8/src/video/cocoa/SDL_cocoawindow.m:317:93:
error: use of undeclared identifier
'NSWindowDidChangeBackingPropertiesNotification'; did you mean
'NSWindowDidChangeScreenProfileNotification'?
:info:build [center addObserver:self
selector:@selector(windowDidChangeBackingProperties:)
name:NSWindowDidChangeBackingPropertiesNotification object:window];
:info:build
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:info:build
NSWindowDidChangeScreenProfileNotification
:info:build
/Developer/SDKs/MacOSX10.7.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:786:25:
note: 'NSWindowDidChangeScreenProfileNotification' declared here
:info:build APPKIT_EXTERN NSString
*NSWindowDidChangeScreenProfileNotification ;
:info:build ^
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libsdl2/libsdl2/work/SDL2-2.0.8/src/video/cocoa/SDL_cocoawindow.m:448:42:
error: use of undeclared identifier
'NSWindowDidChangeBackingPropertiesNotification'; did you mean
'NSWindowDidChangeScreenProfileNotification'?
:info:build [center removeObserver:self
name:NSWindowDidChangeBackingPropertiesNotification object:window];
:info:build
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:info:build
NSWindowDidChangeScreenProfileNotification
:info:build
/Developer/SDKs/MacOSX10.7.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:786:25:
note: 'NSWindowDidChangeScreenProfileNotification' declared here
:info:build APPKIT_EXTERN NSString
*NSWindowDidChangeScreenProfileNotification ;
:info:build ^
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libsdl2/libsdl2/work/SDL2-2.0.8/src/video/cocoa/SDL_cocoawindow.m:661:65:
error: use of undeclared identifier 'NSBackingPropertyOldScaleFactorKey'
:info:build NSNumber *oldscale = [[aNotification userInfo]
objectForKey:NSBackingPropertyOldScaleFactorKey];
:info:build
^
:info:build 3 errors generated.
:info:build make: *** [build/SDL_cocoawindow.lo] Error 1
}}}
--
Ticket URL: <https://trac.macports.org/ticket/52210#comment:46>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list