openbsd-ports/mail/mozilla-thunderbird/patches/patch-gfx_src_ps_nsFontMetricsPS_cpp
martynas 82b3297457 major update to mozilla-thunderbird-2.0.0.0. also:
- use official branding;
- external nss;
- don't force optimizations;
- make it work with misc/mozilla-dicts;
tested by many, including ajacoutot@, ian@, matthieu@, Mike Erdely, Niko
Itajarvi, Simon Kuhnle
input/ok kurt@, wilfried@
2007-04-30 22:40:31 +00:00

13 lines
523 B
Plaintext

$OpenBSD: patch-gfx_src_ps_nsFontMetricsPS_cpp,v 1.7 2007/04/30 22:40:31 martynas Exp $
--- gfx/src/ps/nsFontMetricsPS.cpp.orig Thu Nov 30 04:17:21 2006
+++ gfx/src/ps/nsFontMetricsPS.cpp Thu Apr 19 14:31:47 2007
@@ -995,7 +995,7 @@ nsFontPSXft::FindFont(PRUnichar aChar, const nsFont& a
fontps *fps = new fontps;
fps->entry = xftEntry;
- fps->charset = fc_charset;
+ fps->charset = FcCharSetCopy(fc_charset);
fps->fontps = nsnull;
fpi.fontps->AppendElement(fps);
}