summaryrefslogtreecommitdiff
path: root/devel/qt4-makeqpf/files/extra-patch__tools__makeqpf__qpf2.cpp
blob: ab46d51ae6c7e43e9c593179b41f75f1f6753cf9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- tools/makeqpf/qpf2.cpp.orig	2009-09-07 13:00:31.000000000 +0200
+++ tools/makeqpf/qpf2.cpp	2009-09-21 22:15:11.717123200 +0200
@@ -363,6 +363,8 @@
     int startGlyphIndex;
 };
 
+#define log2(x) log(x)/log(2)
+
 static QByteArray generateTrueTypeCMap(QFontEngine *fe)
 {
     QByteArray cmap;