ports/graphics/xpdf3/files/patch-splash_SplashFTFont.cc
Cy Schubert ed06a7905e This is the functional update of xpdf to xpdf 4.00.
graphics/xpdf is renamed (actually copied) to xpdf3. Those who want to
continue to use xpdf with a Motif interface can either install xpdf3 or
set XPDF_VERSION=3 in make.conf and continue to install graphics/xpdf.
This works around any POLA issues people might have between the
old and the new.

PR:		222002
2017-09-12 19:22:01 +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,