diff options
| author | Hennadii Zabula <zabulus12@gmail.com> | 2017-05-29 12:26:27 +0300 |
|---|---|---|
| committer | Hennadii Zabula <zabulus12@gmail.com> | 2017-06-01 11:18:55 +0300 |
| commit | 33dd3ee38d2dae173db756beabb9fd2f87bb524c (patch) | |
| tree | 861546d84667e1cad9e7a1e55b3ef082c64ea75c /ports/harfbuzz/0001-fix-uwp-build.patch | |
| parent | 3ebcdd384b58ff5d5f92996a6eb2e9fed0be1710 (diff) | |
| download | vcpkg-33dd3ee38d2dae173db756beabb9fd2f87bb524c.tar.gz vcpkg-33dd3ee38d2dae173db756beabb9fd2f87bb524c.zip | |
Fix harbuzz build for arm
Diffstat (limited to 'ports/harfbuzz/0001-fix-uwp-build.patch')
| -rw-r--r-- | ports/harfbuzz/0001-fix-uwp-build.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/ports/harfbuzz/0001-fix-uwp-build.patch b/ports/harfbuzz/0001-fix-uwp-build.patch new file mode 100644 index 000000000..532ce668e --- /dev/null +++ b/ports/harfbuzz/0001-fix-uwp-build.patch @@ -0,0 +1,15 @@ +diff --git "a/harfbuzz-1.4.6/src/hb-ft.cc" "b/harfbuzz-1.4.6/src/hb-ft.cc" +index 48d6a0ef..f4ce6608 100644 +--- "a/harfbuzz-1.4.6/src/hb-ft.cc" ++++ "b/harfbuzz-1.4.6/src/hb-ft.cc" +@@ -31,6 +31,10 @@ + + #include "hb-ft.h" + ++#if defined(WINAPI_FAMILY) && (WINAPI_FAMILY != WINAPI_FAMILY_DESKTOP_APP) ++#define generic GenericFromFreeTypeLibrary ++#endif ++ + #include "hb-font-private.hh" + + #include "hb-cache-private.hh" // Maybe use in the future? |
