From: Bentoo Overlay <noreply@bentoo>
Subject: [PATCH] Link against harfbuzz-raster for HarfBuzz 14+

HarfBuzz 14 split its API into separate libraries (raster, vector, gpu).
The hb_raster_paint_* and hb_raster_draw_* symbols used by
modules/text_server_adv/ live in libharfbuzz-raster.so. Add
harfbuzz-raster to the pkg-config invocation so the linker resolves them.

--- a/platform/linuxbsd/detect.py
+++ b/platform/linuxbsd/detect.py
@@ -256,7 +256,7 @@
         env.ParseConfig("pkg-config icu-i18n icu-uc --cflags --libs")

     if not env["builtin_harfbuzz"]:
-        env.ParseConfig("pkg-config harfbuzz harfbuzz-icu --cflags --libs")
+        env.ParseConfig("pkg-config harfbuzz harfbuzz-icu harfbuzz-raster --cflags --libs")

     if not env["builtin_icu4c"] or not env["builtin_harfbuzz"]:
         print_warning(
