pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/pango Add a patch for GNOME bugzilla bug #161568...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fe9e5e299901
branches:  trunk
changeset: 486432:fe9e5e299901
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Tue Dec 28 10:48:09 2004 +0000

description:
Add a patch for GNOME bugzilla bug #161568 to build with
fontconfig<2.2.  OK'ed by maintainer.

diffstat:

 devel/pango/distinfo         |   3 ++-
 devel/pango/patches/patch-ab |  15 +++++++++++++++
 2 files changed, 17 insertions(+), 1 deletions(-)

diffs (30 lines):

diff -r e597df2840f0 -r fe9e5e299901 devel/pango/distinfo
--- a/devel/pango/distinfo      Tue Dec 28 10:30:58 2004 +0000
+++ b/devel/pango/distinfo      Tue Dec 28 10:48:09 2004 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.23 2004/12/24 10:03:54 jmmv Exp $
+$NetBSD: distinfo,v 1.24 2004/12/28 10:48:09 minskim Exp $
 
 SHA1 (pango-1.8.0.tar.bz2) = 186cb01215ca92da6ae76b84069a33b4c493822e
 Size (pango-1.8.0.tar.bz2) = 979183 bytes
 SHA1 (patch-aa) = ea2fe223d9c7da2a19f1699124a59e6081ab8e9f
+SHA1 (patch-ab) = 75970a50b8a3c08891b0307e4a0b6377ea14eafc
diff -r e597df2840f0 -r fe9e5e299901 devel/pango/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/pango/patches/patch-ab      Tue Dec 28 10:48:09 2004 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-ab,v 1.11 2004/12/28 10:48:09 minskim Exp $
+
+http://bugzilla.gnome.org/show_bug.cgi?id=161568
+
+--- pango/pangofc-fontmap.c.orig       2004-12-15 20:50:49.000000000 -0600
++++ pango/pangofc-fontmap.c
+@@ -535,7 +535,7 @@ pango_fc_convert_weight_to_fc (PangoWeig
+   if (pango_weight < (PANGO_WEIGHT_LIGHT + PANGO_WEIGHT_NORMAL) / 2)
+     return FC_WEIGHT_LIGHT;
+   else if (pango_weight < (500 /* PANGO_WEIGHT_MEDIUM */ + PANGO_WEIGHT_SEMIBOLD) / 2)
+-    return FC_WEIGHT_NORMAL;
++    return FC_WEIGHT_MEDIUM;
+   else if (pango_weight < (PANGO_WEIGHT_SEMIBOLD + PANGO_WEIGHT_BOLD) / 2)
+     return FC_WEIGHT_DEMIBOLD;
+   else if (pango_weight < (PANGO_WEIGHT_BOLD + PANGO_WEIGHT_ULTRABOLD) / 2)



Home | Main Index | Thread Index | Old Index