summaryrefslogtreecommitdiff
path: root/devel/pango/patches/patch-ae
blob: e892da25c881eea795693a749c98424d7509758a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
$NetBSD: patch-ae,v 1.4.2.1 2010/03/27 17:51:38 tron Exp $

Avoid high CPU usage under Mac OS X caused by questionable C++ code.

Please look here for details:
https://bugzilla.gnome.org/show_bug.cgi?id=593240

--- pango/opentype/hb-open-type-private.hh.orig	2009-11-26 00:44:17.000000000 +0000
+++ pango/opentype/hb-open-type-private.hh	2010-02-21 23:41:06.000000000 +0000
@@ -61,7 +61,7 @@
 /* Null objects */
 
 /* Global nul-content Null pool.  Enlarge as necessary. */
-static const char NullPool[32] = "";
+static const void *NullPool[32];
 
 /* Generic template for nul-content sizeof-sized Null objects. */
 template <typename Type>