pkgsrc/fonts/ttmkfdir2/patches/patch-ac
recht 8ee8ba43f7 Fix build with newer freetype2.
Patches obtained from FreeBSD.
2004-04-28 00:10:04 +00:00

30 lines
685 B
Text

$NetBSD: patch-ac,v 1.3 2004/04/28 00:10:04 recht Exp $
--- ttf.h.orig 2004-04-28 02:03:16.000000000 +0200
+++ ttf.h 2004-04-28 02:03:35.000000000 +0200
@@ -3,16 +3,19 @@
#define TTF_H__
#include <string>
-#include "freetype/freetype.h"
-#include "freetype/tttables.h"
-#include "freetype/ftsnames.h"
-#include "freetype/ttnameid.h"
-#include "freetype/fterrors.h"
-#include "freetype/ftmodule.h"
+#include <ft2build.h>
+#include FT_FREETYPE_H
+#include FT_TRUETYPE_TABLES_H
+#include FT_SFNT_NAMES_H
+#include FT_TRUETYPE_IDS_H
+#include FT_ERRORS_H
+#include FT_MODULE_H
#include "util.h"
#include "encoding.h"
+using namespace std;
+
namespace ttf {
class Face {