diff options
Diffstat (limited to 'Build/source/texk/dvisvgm/dvisvgm-1.0.2-PATCHES/patch-04-freetype')
-rw-r--r-- | Build/source/texk/dvisvgm/dvisvgm-1.0.2-PATCHES/patch-04-freetype | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Build/source/texk/dvisvgm/dvisvgm-1.0.2-PATCHES/patch-04-freetype b/Build/source/texk/dvisvgm/dvisvgm-1.0.2-PATCHES/patch-04-freetype new file mode 100644 index 00000000000..364711a9bfd --- /dev/null +++ b/Build/source/texk/dvisvgm/dvisvgm-1.0.2-PATCHES/patch-04-freetype @@ -0,0 +1,12 @@ +diff -ur dvisvgm-1.0.2.orig/src/FontEngine.cpp dvisvgm-1.0.2/src/FontEngine.cpp +--- dvisvgm-1.0.2.orig/src/FontEngine.cpp 2010-06-16 19:08:12.000000000 +0200 ++++ dvisvgm-1.0.2/src/FontEngine.cpp 2010-09-23 17:52:38.000000000 +0200 +@@ -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 >> 16)|(FREETYPE_MINOR >> 8)|FREETYPE_PATCH) >= ((2>>16)|(2>>8)|1) + typedef const FT_Vector *FTVectorPtr; + #else + typedef FT_Vector *FTVectorPtr; |