pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/pangox-compat pangox-compat: fix build with newe...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e7d0cf0f0aeb
branches:  trunk
changeset: 340641:e7d0cf0f0aeb
user:      maya <maya%pkgsrc.org@localhost>
date:      Sat Oct 05 12:38:28 2019 +0000

description:
pangox-compat: fix build with newer pango.

seems to be enough to run at least one of the packages indirectly using
this.

note: all the packages relying on this are at serious risk of breaking.
it isn't maintained code.

diffstat:

 devel/pangox-compat/distinfo               |   3 ++-
 devel/pangox-compat/patches/patch-pangox.c |  15 +++++++++++++++
 2 files changed, 17 insertions(+), 1 deletions(-)

diffs (31 lines):

diff -r e295a90221c8 -r e7d0cf0f0aeb devel/pangox-compat/distinfo
--- a/devel/pangox-compat/distinfo      Sat Oct 05 12:22:51 2019 +0000
+++ b/devel/pangox-compat/distinfo      Sat Oct 05 12:38:28 2019 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.4 2015/11/03 03:29:01 agc Exp $
+$NetBSD: distinfo,v 1.5 2019/10/05 12:38:28 maya Exp $
 
 SHA1 (pangox-compat-0.0.2.tar.xz) = e02daa573769ddd41b2231f731525e5f8f26621b
 RMD160 (pangox-compat-0.0.2.tar.xz) = 4c1f8f0b23037bdba0eef9a905aa234a7dff78a4
 SHA512 (pangox-compat-0.0.2.tar.xz) = fd3e257157d78c3d86c948e7909226fdebe52408d02a52432de8a295443b64b80b37cb795fe646d581515e6072bd278f2dcab0e43cf27b63b03a82c01eb6b9b3
 Size (pangox-compat-0.0.2.tar.xz) = 267396 bytes
+SHA1 (patch-pangox.c) = 95185dec98b493b5e3e2b14fbb6f9b9abbdbf4d1
diff -r e295a90221c8 -r e7d0cf0f0aeb devel/pangox-compat/patches/patch-pangox.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/pangox-compat/patches/patch-pangox.c        Sat Oct 05 12:38:28 2019 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-pangox.c,v 1.1 2019/10/05 12:38:28 maya Exp $
+
+Don't assign to a class that no longer exists in newer Pango.
+
+--- pangox.c.orig      2012-08-27 23:19:32.000000000 +0000
++++ 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;
++  /*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;



Home | Main Index | Thread Index | Old Index