From: Sam James <sam@gentoo.org>
To: Po Lu <luangruo@yahoo.com>
Cc: 58830@debbugs.gnu.org
Subject: bug#58830: 29.0.50; Build failure on master with cairo_ft_font_options_substitute
Date: Fri, 28 Oct 2022 14:54:31 +0100 [thread overview]
Message-ID: <87edust5nk.fsf@gentoo.org> (raw)
In-Reply-To: <87zgdg3w5l.fsf@yahoo.com>
[-- Attachment #1: Type: text/plain, Size: 807 bytes --]
Po Lu <luangruo@yahoo.com> writes:
> Sam James <sam@gentoo.org> writes:
>
>> Sadly no. Attaching new build.log & config.log.
>
> Thanks, what if you apply this:
>
> diff --git a/src/xsettings.c b/src/xsettings.c
> index deacddcfde..15e7ff5499 100644
> --- a/src/xsettings.c
> +++ b/src/xsettings.c
> @@ -54,12 +54,14 @@ Copyright (C) 2009-2022 Free Software Foundation, Inc.
> #include <gconf/gconf-client.h>
> #endif
>
> -#if defined USE_CAIRO || defined HAVE_XFT
> #ifdef USE_CAIRO
> #include <fontconfig/fontconfig.h>
> -#else /* HAVE_XFT */
> +#elif defined HAVE_XFT
> #include <X11/Xft/Xft.h>
> #endif
> +
> +#if defined USE_CAIRO && defined CAIRO_HAS_FT_FONT
> +#include <cairo/cairo-ft.h>
> #endif
>
> static char *current_mono_font;
Works! Thank you!
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 377 bytes --]
next prev parent reply other threads:[~2022-10-28 13:54 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-28 8:08 bug#58830: 29.0.50; Build failure on master with cairo_ft_font_options_substitute Sam James
2022-10-28 8:42 ` bug#58830: (no subject) Sam James
2022-10-28 10:02 ` bug#58830: 29.0.50; Build failure on master with cairo_ft_font_options_substitute Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-10-28 10:09 ` Sam James
2022-10-28 11:36 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-10-28 13:14 ` Sam James
2022-10-28 13:39 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-10-28 13:54 ` Sam James [this message]
2022-10-29 0:56 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-11-12 20:45 ` Stefan Kangas
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=87edust5nk.fsf@gentoo.org \
--to=sam@gentoo.org \
--cc=58830@debbugs.gnu.org \
--cc=luangruo@yahoo.com \
/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).