all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Sebastian Rose <sebastian_rose@gmx.de>
To: Stefan Monnier <monnier@IRO.UMontreal.CA>
Cc: emacs-devel Mailinglist <emacs-devel@gnu.org>
Subject: Re: undefined reference to ftfont_variation_glyphs
Date: Fri, 27 Mar 2009 22:39:29 +0100	[thread overview]
Message-ID: <874oxey7am.fsf@kassiopeya.MSHEIMNETZ> (raw)
In-Reply-To: <jwvprg221zs.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Fri, 27 Mar 2009 15:35:34 -0400")

[-- Attachment #1: Type: text/plain, Size: 239 bytes --]

Stefan Monnier <monnier@IRO.UMontreal.CA> writes:
>> This is the fix I used (and that works fine):
>
> Could you resend it in "unified diff" (or "context diff") format, please?

Unified:

<sh:/.../emacs-CVS/emacs> cvs diff -u src/ftfont.c

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 1308 bytes --]

Index: src/ftfont.c
===================================================================
RCS file: /sources/emacs/emacs/src/ftfont.c,v
retrieving revision 1.45
diff -u -r1.45 ftfont.c
--- src/ftfont.c	11 Feb 2009 09:45:14 -0000	1.45
+++ src/ftfont.c	27 Mar 2009 21:34:17 -0000
@@ -381,8 +381,15 @@
 				    int *, int *));
 static Lisp_Object ftfont_otf_capability P_ ((struct font *));
 static Lisp_Object ftfont_shape P_ ((Lisp_Object));
+
+#ifdef HAVE_LIBOTF
+#ifdef HAVE_M17N_FLT
+#ifdef HAVE_OTF_GET_VARIATION_GLYPHS
 static int ftfont_variation_glyphs P_ ((struct font *, int c,
 					unsigned variations[256]));
+#endif	/* HAVE_OTF_GET_VARIATION_GLYPHS */
+#endif	/* HAVE_M17N_FLT */
+#endif	/* HAVE_LIBOTF */
 
 struct font_driver ftfont_driver =
   {
@@ -422,11 +429,15 @@
     NULL,
 #endif	/* not (HAVE_M17N_FLT && HAVE_LIBOTF) */
     NULL,			/* check */
+#ifdef HAVE_LIBOTF
+#ifdef HAVE_M17N_FLT
 #ifdef HAVE_OTF_GET_VARIATION_GLYPHS
     ftfont_variation_glyphs
 #else
     NULL
 #endif
+#endif
+#endif
   };
 
 extern Lisp_Object QCname;
</#part>

-- 
Sebastian Rose, EMMA STIL - mediendesign, Niemeyerstr.6, 30449 Hannover
Tel.:  +49 (0)511 - 36 58 472
Fax:   +49 (0)1805 - 233633 - 11044
mobil: +49 (0)173 - 83 93 417
Email: s.rose@emma-stil.de, sebastian_rose@gmx.de
Http:  www.emma-stil.de

  reply	other threads:[~2009-03-27 21:39 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-27 12:27 undefined reference to ftfont_variation_glyphs Sebastian Rose
2009-03-27 17:19 ` Sebastian Rose
2009-03-27 19:35   ` Stefan Monnier
2009-03-27 21:39     ` Sebastian Rose [this message]
2009-03-28  4:19       ` Stefan Monnier
2009-03-28 16:43         ` Sebastian Rose
2009-03-29 17:15   ` Chong Yidong
2009-03-29 17:54     ` Sebastian Rose
2009-03-28  3:34 ` Chong Yidong
2009-03-28 16:37   ` Sebastian Rose
2009-03-28 19:02     ` Sebastian Rose
2009-03-30  5:41 ` Kenichi Handa
2009-03-30 11:26   ` Sebastian Rose

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

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

  git send-email \
    --in-reply-to=874oxey7am.fsf@kassiopeya.MSHEIMNETZ \
    --to=sebastian_rose@gmx.de \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@IRO.UMontreal.CA \
    /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 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.