-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathskia-macosx-x86_64.patch
25 lines (25 loc) · 1002 Bytes
/
skia-macosx-x86_64.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Index: src/ports/SkFontHost_mac_coretext.cpp
===================================================================
--- src/ports/SkFontHost_mac_coretext.cpp (revision 3485)
+++ 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 3485)
+++ 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...