From 79ce6547ce78c765290db574f1ff4930de862ba0 Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Sat, 9 Jul 2022 22:05:46 +0200 Subject: Fix non-xft build referencing fl_get_font_xfld() (#461) This is only one part of issue 461 which describes two build errors on "Raspberry Pi4 bullseye". It turned out that the build didn't find Xft. --- src/drivers/X11/Fl_X11_Screen_Driver.cxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/drivers/X11/Fl_X11_Screen_Driver.cxx b/src/drivers/X11/Fl_X11_Screen_Driver.cxx index b1a62b29e..09e923b40 100644 --- a/src/drivers/X11/Fl_X11_Screen_Driver.cxx +++ b/src/drivers/X11/Fl_X11_Screen_Driver.cxx @@ -56,6 +56,9 @@ extern const char *fl_bg; extern const char *fl_bg2; // end of extern additions workaround +#if !USE_XFT +extern char *fl_get_font_xfld(int fnum, int size); +#endif XIM Fl_X11_Screen_Driver::xim_im = 0; -- cgit v1.2.3