[MacPorts] #60819: sfml fails to build on 10.6.8 due to missing method backingScaleFactor
MacPorts
noreply at macports.org
Sun Jul 12 00:09:16 UTC 2020
#60819: sfml fails to build on 10.6.8 due to missing method backingScaleFactor
------------------------------+---------------------------------------
Reporter: programmingkidx | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords: snowleopard leopard tiger
Port: sfml |
------------------------------+---------------------------------------
Comment (by programmingkidx):
https://gist.github.com/sangregoriopaolo/3609137
- The solution here was to return 1.0 on Mac OS 10.6 and under. I agree
with this solution.
{{{
// Support for OSX 10.6
if (![[NSScreen mainScreen]
respondsToSelector:@selector(backingScaleFactor)]) return 1.0f;
}}}
--
Ticket URL: <https://trac.macports.org/ticket/60819#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list