summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarinus Schraal <foser@gentoo.org>2004-12-21 13:43:22 +0000
committerMarinus Schraal <foser@gentoo.org>2004-12-21 13:43:22 +0000
commit51f1890f615f968103fd38764e31ddda789664cb (patch)
treecebdad5d33f7817b3ba769afca5695ede78e8e4d /x11-misc/ttmkfdir/files
parentMarked ~ppc. (diff)
downloadhistorical-51f1890f615f968103fd38764e31ddda789664cb.tar.gz
historical-51f1890f615f968103fd38764e31ddda789664cb.tar.bz2
historical-51f1890f615f968103fd38764e31ddda789664cb.zip
add freetype includes fix
Diffstat (limited to 'x11-misc/ttmkfdir/files')
-rw-r--r--x11-misc/ttmkfdir/files/ttmkfdir-3.0.9-freetype_new_includes.patch44
1 files changed, 44 insertions, 0 deletions
diff --git a/x11-misc/ttmkfdir/files/ttmkfdir-3.0.9-freetype_new_includes.patch b/x11-misc/ttmkfdir/files/ttmkfdir-3.0.9-freetype_new_includes.patch
new file mode 100644
index 000000000000..a5ded9fbe492
--- /dev/null
+++ b/x11-misc/ttmkfdir/files/ttmkfdir-3.0.9-freetype_new_includes.patch
@@ -0,0 +1,44 @@
+--- ttmkfdir-3.0.9/encoding.cpp.orig 2002-12-09 17:52:48.000000000 +0900
++++ ttmkfdir-3.0.9/encoding.cpp 2004-01-31 18:16:46.617118976 +0900
+@@ -4,7 +4,6 @@
+ #include <cstring>
+ #include <unistd.h>
+ #include <zlib.h>
+-#include "freetype/freetype.h"
+
+ #include "ttmkfdir.h"
+ #include "encoding.h"
+--- ttmkfdir-3.0.9/encoding.h.orig 2002-12-09 17:52:48.000000000 +0900
++++ ttmkfdir-3.0.9/encoding.h 2004-01-31 18:19:18.600014064 +0900
+@@ -6,7 +6,8 @@
+ #include <map>
+ #include <string>
+
+-#include "freetype/freetype.h"
++#include <ft2build.h>
++#include FT_FREETYPE_H
+
+ #include "util.h"
+
+--- ttmkfdir-3.0.9/ttf.h.orig 2003-01-08 14:25:25.000000000 +0900
++++ ttmkfdir-3.0.9/ttf.h 2004-01-31 18:32:53.333155800 +0900
+@@ -3,12 +3,13 @@
+ #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_SFNT_NAMES_H
++#include FT_TRUETYPE_TABLES_H
++#include FT_TRUETYPE_IDS_H
++#include FT_ERRORS_H
++#include FT_MODULE_H
+
+ #include "util.h"
+ #include "encoding.h"