Properly include freetype headers
In gtk/gtkfontchooserwidget.c
the freetype headers are included directly via:
#include <freetype/freetype.h>
#include <freetype/ftmm.h>
However, this can be problematic for example with older freetype2 versions and
the documented way to use them by #include <ft2build.h>
and the by
including the headers via FT_*_H
, i.e.:
#include <ft2build.h>
#include FT_FREETYPE_H
#include FT_MULTIPLE_MASTERS_H
The attached patch that apply cleanly to gtk3+ 3.24.1 fixes this problem and was committed in pkgsrc.
Thank you!