Subject: bug#31634: emacs 26.1 Compilation error and fix on Solaris 10

From: "Christian Jullien" <[email-masked]>
Date: Tue, 29 May 2018 07:49:43 +0200

Hello emacs maintainers,

Many thanks for the energy you put on emacs.

Trying to compile emacs 26.1 on solaris 10 sparc with gcc 7.3, I get

xftfont.c: In function 'xftfont_open':

xftfont.c:338:19: error: 'xftfont_driver' undeclared (first use in this
function); did you mean 'ftxfont_driver'?

   font->driver = &xftfont_driver;

                   ^~~~~~~~~~~~~~

                   ftxfont_driver

Which I can easily fix by adding ligne 251:

extern struct font_driver const xftfont_driver;

Hope it helps.

C. Jullien