pkgsrc/fonts/ttmkfdir2/patches/patch-af
2007-11-15 06:36:45 +00:00

22 lines
649 B
Text

$NetBSD: patch-af,v 1.2 2007/11/15 06:36:45 rillig Exp $
http://wiki.netbsd.se/Typical_pkgsrc_error_messages
--- encoding.cpp.orig 2002-11-07 06:28:44.000000000 +0100
+++ encoding.cpp 2007-11-15 07:19:38.547700000 +0100
@@ -2,7 +2,7 @@
#include <cstdio>
#include <cstdlib>
#include <cstring>
-#include "freetype/freetype.h"
+#include <ft2build.h>
#include "ttmkfdir.h"
#include "encoding.h"
@@ -101,5 +101,5 @@ Encoding::Encoding (Encodings_t *dest, B
(*m)[i] = b->mapdata.mappingtable[i];
AddMapping (m);
- dest->insert (std::make_pair(m->cmapkey(), this));;
+ dest->insert (Encodings_t::value_type(m->cmapkey(), this));
}