[MacPorts] #52537: hatari - fix for build on Snow Leopard without Xcode 4.2
MacPorts
noreply at macports.org
Mon Oct 10 17:48:26 CEST 2016
#52537: hatari - fix for build on Snow Leopard without Xcode 4.2
--------------------------------------+---------------------------------
Reporter: ken.cunningham.webuse@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.4
Resolution: | Keywords: haspatch maintainer
Port: hatari |
--------------------------------------+---------------------------------
Comment (by larryv@…):
Replying to [comment:7 ken.cunningham.webuse@…]:
> {{{
> :info:build In file included from
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_emulators_hatari/hatari/work/hatari-1.9.0/src
/gui-osx/PrefsController.m:18:
> :info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_emulators_hatari/hatari/work/hatari-1.9.0/src
/gui-osx/PrefsController.h:78:5: error:
> :info:build unknown type name '__unsafe_unretained'
> :info:build __unsafe_unretained IBOutlet NSStepper
*TTRAMSizeStepper;
> :info:build ^
> }}}
`__unsafe_unretained` is an ARC variable lifetime qualifier, which
requires Xcode 4.2.
https://developer.apple.com/library/prerelease/content/releasenotes/ObjectiveC/ObjCAvailabilityIndex
You could try blacklisting `{ clang < 211 }` so that one of our compilers
is used. I think Snow Leopard’s Objective-C runtime is new enough to
handle it.
--
Ticket URL: <https://trac.macports.org/ticket/52537#comment:10>
MacPorts <https://www.macports.org/>
Ports system for the Mac operating system
More information about the macports-tickets
mailing list