Blob Blame History Raw
diff -up xfig-3.2.9/configure~ xfig-3.2.9/configure
diff -up xfig-3.2.9/src/u_fonts.h~ xfig-3.2.9/src/u_fonts.h
--- xfig-3.2.9/src/u_fonts.h~	2024-02-26 13:37:49.000000000 +0100
+++ xfig-3.2.9/src/u_fonts.h	2024-02-26 14:05:16.718889666 +0100
@@ -77,7 +77,7 @@ extern struct _fstruct	latex_fontinfo[];
  * need to map the byte characters into UTF-8 multi byte characters.
  * This to make XftTextExtentsUtf8() and XftDrawStringUtf8() working.
  */
-typedef XftChar8 (*map_f)(XftChar8);
+typedef XftChar32 (*map_f)(XftChar8);
 extern XftChar32 map_dingbats(XftChar8);
 extern XftChar32 map_symbols(XftChar8);
 extern map_f adobe_charset(XftFont *font);