Created
March 16, 2012 10:56
-
-
Save eungju/2049579 to your computer and use it in GitHub Desktop.
Skia Mac OS X 64 patch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Index: src/ports/SkFontHost_mac_coretext.cpp | |
| =================================================================== | |
| --- src/ports/SkFontHost_mac_coretext.cpp (revision 3410) | |
| +++ src/ports/SkFontHost_mac_coretext.cpp (working copy) | |
| @@ -1948,7 +1948,7 @@ | |
| int count = CFArrayGetCount(cfArray); | |
| if (tags) { | |
| for (int i = 0; i < count; ++i) { | |
| - tags[i] = (SkFontTableTag)CFArrayGetValueAtIndex(cfArray, i); | |
| + tags[i] = (SkFontTableTag)(uintptr_t)CFArrayGetValueAtIndex(cfArray, i); | |
| } | |
| } | |
| return count; | |
| Index: gyp/common_conditions.gypi | |
| =================================================================== | |
| --- gyp/common_conditions.gypi (revision 3410) | |
| +++ gyp/common_conditions.gypi (working copy) | |
| @@ -126,6 +126,7 @@ | |
| }, | |
| }, | |
| 'xcode_settings': { | |
| + 'ARCHS': ['x86', 'x86_64'], | |
| 'SYMROOT': '<(DEPTH)/xcodebuild', | |
| 'SDKROOT': 'macosx10.6', | |
| # trying to get this to work, but it needs clang I think... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment