media-libs/harfbuzz: Turn off -Wcast-function-type-strict

Newer versions of Clang warn about casting a function that takes a pointer
to some type to a function that takes a void* instead. This is used in
glib, and causes build errors because we treat cast-function-type as an
error. This patch (which is already in upstream) makes us ignore
cast-function-type-strict, which is the stricter version of that check, and
the one that causes the diagnostics.

BUG=b:269820347
TEST=emerge-amd64-generic media-libs/harfbuzz

Change-Id: I28c8c2001fb0b6731212a5cd9c26e04140279e80
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/overlays/portage-stable/+/4300631
Reviewed-by: Manoj Gupta <manojgupta@chromium.org>
Tested-by: Bob Haarman <inglorion@chromium.org>
Commit-Queue: Bob Haarman <inglorion@chromium.org>
Reviewed-by: Fergus Dall <sidereal@google.com>
Commit-Queue: Manoj Gupta <manojgupta@chromium.org>
2 files changed