* Build failure in ftfont.c
@ 2008-06-10 13:43 Vin Shelton
2008-06-11 1:14 ` Kenichi Handa
0 siblings, 1 reply; 2+ messages in thread
From: Vin Shelton @ 2008-06-10 13:43 UTC (permalink / raw)
To: emacs-devel
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Build failure in ftfont.c
2008-06-10 13:43 Build failure in ftfont.c Vin Shelton
@ 2008-06-11 1:14 ` Kenichi Handa
0 siblings, 0 replies; 2+ messages in thread
From: Kenichi Handa @ 2008-06-11 1:14 UTC (permalink / raw)
To: Vin Shelton; +Cc: emacs-devel
In article <20a807210806100643s63120367o14ea449a4625a329@mail.gmail.com>, "Vin Shelton" <acs@xemacs.org> writes:
> 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)
Oops, sorry, I've just installed a fix.
---
Kenichi Handa
handa@ni.aist.go.jp
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-06-11 1:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-10 13:43 Build failure in ftfont.c Vin Shelton
2008-06-11 1:14 ` Kenichi Handa
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.