From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: "Christian Jullien" Newsgroups: gmane.emacs.bugs Subject: bug#31634: emacs 26.1 Compilation error and fix on Solaris 10 Date: Tue, 29 May 2018 07:49:43 +0200 Message-ID: <000301d3f710$d7fc4d10$87f4e730$@orange.fr> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0004_01D3F721.9B86A3B0" X-Trace: blaine.gmane.org 1527572890 27966 195.159.176.226 (29 May 2018 05:48:10 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 29 May 2018 05:48:10 +0000 (UTC) To: 31634@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue May 29 07:48:06 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fNXUK-00079f-Jf for geb-bug-gnu-emacs@m.gmane.org; Tue, 29 May 2018 07:48:04 +0200 Original-Received: from localhost ([::1]:59006 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fNXWR-0001mk-Dj for geb-bug-gnu-emacs@m.gmane.org; Tue, 29 May 2018 01:50:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57214) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fNXWJ-0001me-Rm for bug-gnu-emacs@gnu.org; Tue, 29 May 2018 01:50:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fNXWF-0004lM-Ri for bug-gnu-emacs@gnu.org; Tue, 29 May 2018 01:50:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:45101) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fNXWF-0004lD-Nv for bug-gnu-emacs@gnu.org; Tue, 29 May 2018 01:50:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fNXWF-0002ze-As for bug-gnu-emacs@gnu.org; Tue, 29 May 2018 01:50:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Christian Jullien" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 29 May 2018 05:50:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 31634 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: Original-Received: via spool by submit@debbugs.gnu.org id=B.152757300211498 (code B ref -1); Tue, 29 May 2018 05:50:03 +0000 Original-Received: (at submit) by debbugs.gnu.org; 29 May 2018 05:50:02 +0000 Original-Received: from localhost ([127.0.0.1]:52998 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fNXWD-0002zI-Oh for submit@debbugs.gnu.org; Tue, 29 May 2018 01:50:01 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:37976) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fNXWC-0002z6-GB for submit@debbugs.gnu.org; Tue, 29 May 2018 01:50:00 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fNXW6-0004hA-Gb for submit@debbugs.gnu.org; Tue, 29 May 2018 01:49:55 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:37879) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fNXW6-0004h2-Cv for submit@debbugs.gnu.org; Tue, 29 May 2018 01:49:54 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57175) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fNXW5-0001mH-9L for bug-gnu-emacs@gnu.org; Tue, 29 May 2018 01:49:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fNXW1-0004ep-BP for bug-gnu-emacs@gnu.org; Tue, 29 May 2018 01:49:53 -0400 Original-Received: from smtp05.smtpout.orange.fr ([80.12.242.127]:22464 helo=smtp.smtpout.orange.fr) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fNXW0-0004dR-Tq for bug-gnu-emacs@gnu.org; Tue, 29 May 2018 01:49:49 -0400 Original-Received: from young ([217.128.172.94]) by mwinf5d81 with ME id s5pl1x00G22ZY4h035plpt; Tue, 29 May 2018 07:49:46 +0200 X-ME-Helo: young X-ME-Date: Tue, 29 May 2018 07:49:46 +0200 X-ME-IP: 217.128.172.94 X-Mailer: Microsoft Outlook 14.0 Content-Language: fr Thread-Index: AdP3DriififyCAhSRQ61adOVA/ZB+g== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:146670 Archived-At: This is a multipart message in MIME format. ------=_NextPart_000_0004_01D3F721.9B86A3B0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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 ------=_NextPart_000_0004_01D3F721.9B86A3B0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

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 =3D &xftfont_driver;

         &= nbsp;         = ^~~~~~~~~~~~~~

         &= nbsp;         = ftxfont_driver

 

Which I can = easily fix by adding ligne 251:

 

extern = struct font_driver const xftfont_driver;

 

Hope it = helps.

 

C. Jullien

------=_NextPart_000_0004_01D3F721.9B86A3B0--