freebsd-ports/graphics/xpdf/files/patch-splash_SplashFTFont.cc
Norikatsu Shigemura a43acc3732 Update to 3.02.
PR:		ports/110058
Submitted by:	Eric P. Scott <eps+pbug0703 <at> ana.com>
		Jose Garcia Juanino <jjuanino <at> gmail.com>
2007-04-01 13:14:26 +00:00

11 lines
384 B
C++

--- splash/SplashFTFont.cc.orig Tue Feb 27 14:05:52 2007
+++ splash/SplashFTFont.cc
@@ -229,7 +229,7 @@
};
SplashPath *SplashFTFont::getGlyphPath(int c) {
- static FT_Outline_Funcs outlineFuncs = {
+ static const FT_Outline_Funcs outlineFuncs = {
#if FREETYPE_MINOR <= 1
(int (*)(FT_Vector *, void *))&glyphPathMoveTo,
(int (*)(FT_Vector *, void *))&glyphPathLineTo,