diff options
author | minskim <minskim> | 2004-12-28 10:48:09 +0000 |
---|---|---|
committer | minskim <minskim> | 2004-12-28 10:48:09 +0000 |
commit | c6ca88d953053a27f0f7f48a64bef6773a9c5b11 (patch) | |
tree | e8a37f4fc530d894ee5866444e1dbc18a4c54e03 /devel/pango | |
parent | 57ef49e6b3280f03f4a99a449b5330cf87306101 (diff) | |
download | pkgsrc-c6ca88d953053a27f0f7f48a64bef6773a9c5b11.tar.gz |
Add a patch for GNOME bugzilla bug #161568 to build with
fontconfig<2.2. OK'ed by maintainer.
Diffstat (limited to 'devel/pango')
-rw-r--r-- | devel/pango/distinfo | 3 | ||||
-rw-r--r-- | devel/pango/patches/patch-ab | 15 |
2 files changed, 17 insertions, 1 deletions
diff --git a/devel/pango/distinfo b/devel/pango/distinfo index 35a0325521b..c6cd34fac86 100644 --- a/devel/pango/distinfo +++ b/devel/pango/distinfo @@ -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 --git a/devel/pango/patches/patch-ab b/devel/pango/patches/patch-ab new file mode 100644 index 00000000000..b24b65de3b9 --- /dev/null +++ b/devel/pango/patches/patch-ab @@ -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) |