unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Vin Shelton" <acs@xemacs.org>
To: emacs-devel@gnu.org
Subject: Build failure in ftfont.c
Date: Tue, 10 Jun 2008 09:43:13 -0400	[thread overview]
Message-ID: <20a807210806100643s63120367o14ea449a4625a329@mail.gmail.com> (raw)

Greetings -

As of approximately 2008-06-09, I started seeing the following error
when running 'make bootstrap' on the latest CVS sources:

gcc -c -I/usr/local/include -Demacs -DHAVE_CONFIG_H  -I.
-I/usr/local/src/emacs-2008-06-09/src -D_BSD_SOURCE
-I/usr/X11R6/include -I/usr/X11R6/include -I/usr/include/freetype2
-I/usr/include/freetype2/config    -g -O2 -Wno-pointer-sign
/usr/local/src/emacs-2008-06-09/src/ftfont.c
/usr/local/src/emacs-2008-06-09/src/ftfont.c: In function 'ftfont_font_format':
/usr/local/src/emacs-2008-06-09/src/ftfont.c:1753: error: 'len'
undeclared (first use in this function)
/usr/local/src/emacs-2008-06-09/src/ftfont.c:1753: error: (Each
undeclared identifier is reported only once
/usr/local/src/emacs-2008-06-09/src/ftfont.c:1753: error: for each
function it appears in.)
make[2]: *** [ftfont.o] Error 1
make[2]: Leaving directory `/usr/local/build/emacs-2008-06-09/src'
make[1]: *** [bootstrap-build] Error 2
make[1]: Leaving directory `/usr/local/build/emacs-2008-06-09'
make: *** [bootstrap] Error 2

The following patch addresses this:

Index: src/ftfont.c
===================================================================
RCS file: /sources/emacs/emacs/src/ftfont.c,v
retrieving revision 1.20
diff -a -u -r1.20 ftfont.c
--- src/ftfont.c        10 Jun 2008 02:07:53 -0000      1.20
+++ src/ftfont.c        10 Jun 2008 13:40:16 -0000
@@ -1748,6 +1748,7 @@
   if (strcmp ((char *) str, "BDF") == 0)
     return intern ("bdf");
 #else  /* not FC_FONTFORMAT */
+  size_t len;
   if (FcPatternGetString (pattern, FC_FILE, 0, &str) != FcResultMatch)
     return Qnil;
   len = strlen ((char *) str);


Regards,
  Vin Shelton




             reply	other threads:[~2008-06-10 13:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-10 13:43 Vin Shelton [this message]
2008-06-11  1:14 ` Build failure in ftfont.c Kenichi Handa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20a807210806100643s63120367o14ea449a4625a329@mail.gmail.com \
    --to=acs@xemacs.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).