bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#58830: 29.0.50; Build failure on master with cairo_ft_font_options_s


From: Sam James
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
User-agent: mu4e 1.8.11; emacs 29.0.50

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: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]