File xfig-3.2.9-gcc14.patch of Package xfig

---
 src/u_fonts.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- src/u_fonts.h
+++ src/u_fonts.h	2024-08-28 07:00:30.512232174 +0000
@@ -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);
openSUSE Build Service is sponsored by