• Bug#843837: libxft-dev: Xft/Xft.h header incorrectly includes ft2build.

    From Graham Inggs@21:1/5 to Hugh McMaster on Wed Jan 31 07:30:02 2018
    XPost: linux.debian.bugs.dist

    Hi Oleksiy, Hugh

    I saw this message in bug #887595 [1] and thought it would be relevant here:

    On Tue, Jan 23, 2018 at 11:56:38AM +0000, Hugh McMaster wrote:
    Also note that the Freetype2 developers no longer recommend using
    #include <freetype2/ft2build.h>
    in source files (which was the intent of my patch). The following should be used instead:
    #include <ft2build.h>
    #include FT_FREETYPE_H

    Developers would then use either freetype-config or pkg-config to
    obtain the cflags etc.

    Hugh, do you have a reference for the above?

    Regards
    Graham


    [1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=887595#35

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)