mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
- Fix build with new freetype
This commit is contained in:
parent
bf1b2338b6
commit
e91e8baeb9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=104861
11
x11-fonts/ttmkfdir/files/patch-encoding.cpp
Normal file
11
x11-fonts/ttmkfdir/files/patch-encoding.cpp
Normal file
@ -0,0 +1,11 @@
|
||||
--- encoding.cpp.orig Tue Mar 12 15:40:09 2002
|
||||
+++ encoding.cpp Sun Mar 21 22:33:00 2004
|
||||
@@ -2,7 +2,7 @@
|
||||
#include <cstdio>
|
||||
#include <cstdlib>
|
||||
#include <cstring>
|
||||
-#include "freetype/freetype.h"
|
||||
+#include <ft2build.h>
|
||||
|
||||
#include "ttmkfdir.h"
|
||||
#include "encoding.h"
|
12
x11-fonts/ttmkfdir/files/patch-encoding.h
Normal file
12
x11-fonts/ttmkfdir/files/patch-encoding.h
Normal file
@ -0,0 +1,12 @@
|
||||
--- encoding.h.orig Tue Mar 12 15:41:27 2002
|
||||
+++ encoding.h Sun Mar 21 22:35:15 2004
|
||||
@@ -6,7 +6,8 @@
|
||||
#include <map>
|
||||
#include <string>
|
||||
|
||||
-#include "freetype/freetype.h"
|
||||
+#include <ft2build.h>
|
||||
+#include FT_FREETYPE_H
|
||||
|
||||
#include "util.h"
|
||||
|
@ -1,11 +1,27 @@
|
||||
--- ttf.h.orig Wed Mar 13 19:16:38 2002
|
||||
+++ ttf.h Sat Dec 6 23:47:35 2003
|
||||
@@ -13,6 +13,8 @@
|
||||
+++ ttf.h Sun Mar 21 22:30:16 2004
|
||||
@@ -3,15 +3,18 @@
|
||||
#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;
|
||||
+
|
||||
+using namespace std;
|
||||
|
||||
namespace ttf {
|
||||
|
||||
class Face {
|
||||
|
Loading…
Reference in New Issue
Block a user