opnsense-ports/graphics/xpdf3/files/patch-splash_SplashFTFont.cc
Franco Fichtner 3712ae9d64 */*: sync with upstream
Taken from: HardenedBSD
2017-09-12 06:40:37 +02: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,