Hello community,

here is the log from the commit of package pangox-compat for openSUSE:Leap:15.2 
checked in at 2020-04-22 14:13:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/pangox-compat (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.pangox-compat.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "pangox-compat"

Wed Apr 22 14:13:21 2020 rev:12 rq:795994 version:0.0.2

Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/pangox-compat/pangox-compat.changes    
2020-01-15 15:38:55.579090598 +0100
+++ /work/SRC/openSUSE:Leap:15.2/.pangox-compat.new.2738/pangox-compat.changes  
2020-04-22 14:13:25.134555831 +0200
@@ -1,0 +2,7 @@
+Tue Apr 21 07:08:24 UTC 2020 - Bernhard Voelker <[email protected]>
+
+- pangofontclass-rm-findshaper.patch:
+  Add patch to avoid compile error due to removed struct member.
+- pangox-compat.spec: Reference it.
+
+-------------------------------------------------------------------

New:
----
  pangofontclass-rm-findshaper.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ pangox-compat.spec ++++++
--- /var/tmp/diff_new_pack.QhIlKx/_old  2020-04-22 14:13:25.462556494 +0200
+++ /var/tmp/diff_new_pack.QhIlKx/_new  2020-04-22 14:13:25.466556502 +0200
@@ -31,6 +31,7 @@
 BuildRequires:  pkgconfig(gobject-2.0)
 BuildRequires:  pkgconfig(pango)
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+Patch1:         pangofontclass-rm-findshaper.patch
 
 %description
 Pango is a library for layout and rendering of text, with an emphasis
@@ -77,6 +78,7 @@
 
 %prep
 %setup -q
+%patch1
 
 %build
 %configure \

++++++ pangofontclass-rm-findshaper.patch ++++++
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;

Reply via email to