Debian Codegraph @

src/3rdparty/harfbuzz-ng/patches/0001-Work-around-build-failure-on-old-MacOS-SDKs.patch

raw
1 From 5333ed1bf63572739152bae5f8301a07f32e800a Mon Sep 17 00:00:00 2001
2 From: Eskil Abrahamsen Blomfeldt <[email protected]>
3 Date: Tue, 29 Apr 2025 13:45:56 +0200
4 Subject: [PATCH] Work around build failure on old MacOS SDKs
5
6 The CTFontManagerCreateFontDescriptorsFromData() function is missing
7 from the header so we need to add the declaration ourselves.
8 ---
9 src/3rdparty/harfbuzz-ng/src/hb-coretext.cc | 1 +
10 1 file changed, 1 insertion(+)
11
12 diff --git a/src/3rdparty/harfbuzz-ng/src/hb-coretext.cc b/src/3rdparty/harfbuzz-ng/src/hb-coretext.cc
13 index 6c0525b3a07..f8770fafb6f 100644
14 --- a/src/3rdparty/harfbuzz-ng/src/hb-coretext.cc
15 +++ b/src/3rdparty/harfbuzz-ng/src/hb-coretext.cc
16 @@ -34,6 +34,7 @@
17
18 #include "hb-coretext.hh"
19
20 +extern "C" CFArrayRef CTFontManagerCreateFontDescriptorsFromData(CFDataRef data) CT_AVAILABLE(macos(10.13), ios(7.0), watchos(2.0), tvos(9.0));
21
22 /**
23 * SECTION:hb-coretext
24 --
25 2.39.5 (Apple Git-154)
26