GNU bug report logs - #58830
29.0.50; Build failure on master with cairo_ft_font_options_substitute

Previous Next

Package: emacs;

Reported by: Sam James <sam <at> gentoo.org>

Date: Fri, 28 Oct 2022 08:38:02 UTC

Severity: normal

Found in version 29.0.50

Done: Stefan Kangas <stefankangas <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Po Lu <luangruo <at> yahoo.com>
To: Sam James <sam <at> gentoo.org>
Cc: 58830 <at> debbugs.gnu.org
Subject: bug#58830: 29.0.50; Build failure on master with cairo_ft_font_options_substitute
Date: Fri, 28 Oct 2022 21:39:02 +0800
Sam James <sam <at> 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;




This bug report was last modified 2 years and 194 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.