[tlbuild] dvisvgm doesn't build with freetype-2.4.0

Paul Vojta vojta at math.berkeley.edu
Tue Aug 17 21:30:13 CEST 2010


The Subject: line and following patch say it all :-)

--Paul Vojta, vojta at math.berkeley.edu


--- /tmp/FontEngine.cpp	2010-06-13 05:26:25.000000000 -0700
+++ texk/dvisvgm/dvisvgm-1.0.2/src/FontEngine.cpp	2010-08-15 00:01:36.368470001 -0700
@@ -262,7 +262,7 @@
 
 
 // handle API change in freetype version 2.2.1
-#if FREETYPE_MAJOR >= 2 && FREETYPE_MINOR >= 2 && FREETYPE_PATCH >= 1
+#if FREETYPE_MAJOR > 2 || (FREETYPE_MAJOR == 2 && (FREETYPE_MINOR > 2 || (FREETYPE_MINOR == 2 && FREETYPE_PATCH >= 1)))
 	typedef const FT_Vector *FTVectorPtr;
 #else
 	typedef FT_Vector *FTVectorPtr;


More information about the tlbuild mailing list