Build: Update Harfbuzz to 10.0.1

Update Harfbuzz from version 5.1.0 to 10.0.1.

The current version of Harfbuzz (5.1.0) fails to build on Clang 16.0 and
above, breaking dependency builds on macOS 15.0 (which bumped the
Apple Clang version to 16.0). This is due to a new Clang warning flag
(`cast-function-type-strict`) which Harfbuzz implicitly enables and
treat as an error via a header pragma, which in turn prevents it from
being disabled via a simple `-Wno-error` flag.

Since Harfbuzz was only added as a preliminary dependency, and isn't
used anywhere in the Blender codebase yet, it was decided on the chat
that the simplest course of action would be to just bump it to its
latest version, as the problematic warning flag has been disabled in
version 6.0

Pull Request: https://projects.blender.org/blender/blender/pulls/128922
This commit is contained in:
Jonas Holzman
2024-11-03 12:57:58 +01:00
committed by Jonas Holzman
parent 3854ac6e66
commit 831165edf8

View File

@@ -1288,9 +1288,9 @@ Roozbeh Pournader <roozbeh@gnu.org>,
Khaled Hosny <khaledhosny@eglug.org>
]=])
set(HARFBUZZ_VERSION 5.1.0)
set(HARFBUZZ_VERSION 10.0.1)
set(HARFBUZZ_URI https://github.com/harfbuzz/harfbuzz/archive/refs/tags/${HARFBUZZ_VERSION}.tar.gz)
set(HARFBUZZ_HASH 5352ff2eec538ea9a63a485cf01ad8332a3f63aa79921c5a2e301cef185caea1)
set(HARFBUZZ_HASH e7358ea86fe10fb9261931af6f010d4358dac64f7074420ca9bc94aae2bdd542)
set(HARFBUZZ_HASH_TYPE SHA256)
set(HARFBUZZ_FILE harfbuzz-${HARFBUZZ_VERSION}.tar.gz)
set(HARFBUZZ_DEPSBUILDTIMEONLY "UI module asked for preliminary libs so they could work on integrating it")