|
From: Jun T <tak...@kb...> - 2024-12-02 04:52:38
|
After the commit:
commit 35643d86af5f41011723c7363172628283c0b96d
wxt: release per-thread font data structures before forking
build fails on my Mac (with clang) as:
wxterminal/wxt_gui.cpp:3868:3: error: use of undeclared identifier 'pango_cairo_font_map_set_default'
We need to include <pango/pangocairo.h> either in wxt_gui.cpp (as in
the patch below) or in wxt_gui.h (whichever you prefer).
diff --git a/src/wxterminal/wxt_gui.cpp b/src/wxterminal/wxt_gui.cpp
index 2cd096f01..35528e2cb 100644
--- a/src/wxterminal/wxt_gui.cpp
+++ b/src/wxterminal/wxt_gui.cpp
@@ -129,6 +129,9 @@ extern "C" {
#ifdef HAVE_SYS_SELECT_H
# include <sys/select.h>
#endif
+#ifdef HAVE_WORKING_FORK
+# include <pango/pangocairo.h> // for pango_cairo_font_map_set_default()
+#endif
}
/* Interactive toggle control variables
|