summaryrefslogtreecommitdiff
path: root/print/xpdf/patches/patch-ap
blob: c712c972ff5f53a490b40d35639d630af149f4e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ap,v 1.4 2007/03/13 11:06:04 drochner Exp $

--- splash/SplashFTFont.cc.orig	2007-02-27 23:05:52.000000000 +0100
+++ splash/SplashFTFont.cc
@@ -229,7 +229,7 @@ struct SplashFTFontPath {
 };
 
 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,