update Mon May 31 06:37:01 PDT 2010
[pkgsrc.git] / devel / pango / patches / patch-ae
1 $NetBSD: patch-ae,v 1.5 2010/02/21 23:51:26 tron Exp $
2
3 Avoid high CPU usage under Mac OS X caused by questionable C++ code.
4
5 Please look here for details:
6 https://bugzilla.gnome.org/show_bug.cgi?id=593240
7
8 --- pango/opentype/hb-open-type-private.hh.orig 2009-11-26 00:44:17.000000000 +0000
9 +++ pango/opentype/hb-open-type-private.hh      2010-02-21 23:41:06.000000000 +0000
10 @@ -61,7 +61,7 @@
11  /* Null objects */
12  
13  /* Global nul-content Null pool.  Enlarge as necessary. */
14 -static const char NullPool[32] = "";
15 +static const void *NullPool[32];
16  
17  /* Generic template for nul-content sizeof-sized Null objects. */
18  template <typename Type>