File pangofontclass-rm-findshaper.patch of Package pangox-compat

Avoid compile error due to removed struct member:

  pangox.c: In function 'pango_x_font_class_init':
  pangox.c:282:13: error: 'PangoFontClass {aka struct _PangoFontClass}' has no member named 'find_shaper'
     font_class->find_shaper = pango_x_font_find_shaper;
                 ^~
---

Index: pangox.c
===================================================================
--- pangox.c.orig
+++ pangox.c
@@ -279,7 +279,7 @@ pango_x_font_class_init (PangoXFontClass
 
   font_class->describe = pango_x_font_describe;
   font_class->get_coverage = pango_x_font_get_coverage;
-  font_class->find_shaper = pango_x_font_find_shaper;
+  //removed:  font_class->find_shaper = pango_x_font_find_shaper;
   font_class->get_glyph_extents = pango_x_font_get_glyph_extents;
   font_class->get_metrics = pango_x_font_get_metrics;
   font_class->get_font_map = pango_x_font_get_font_map;
openSUSE Build Service is sponsored by