aboutsummaryrefslogtreecommitdiffstats
path: root/x11/libXfont
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2004-03-22 07:33:25 +0800
committermarcus <marcus@FreeBSD.org>2004-03-22 07:33:25 +0800
commitd965d9341603ba48e55c9d11b5517fd501c580c4 (patch)
treecfe07812e52df38517f7b49c58a36b68cc9890e5 /x11/libXfont
parentbdb6584eca83794ac9c63d3ad47a66e723daa3fc (diff)
downloadfreebsd-ports-gnome-d965d9341603ba48e55c9d11b5517fd501c580c4.tar.gz
freebsd-ports-gnome-d965d9341603ba48e55c9d11b5517fd501c580c4.tar.zst
freebsd-ports-gnome-d965d9341603ba48e55c9d11b5517fd501c580c4.zip
Fix build with freetype2-2.1.7.
Diffstat (limited to 'x11/libXfont')
-rw-r--r--x11/libXfont/files/patch-FreeType_ftenc.c12
-rw-r--r--x11/libXfont/files/patch-FreeType_ftfuncs.c12
-rw-r--r--x11/libXfont/files/patch-FreeType_fttools.c12
3 files changed, 36 insertions, 0 deletions
diff --git a/x11/libXfont/files/patch-FreeType_ftenc.c b/x11/libXfont/files/patch-FreeType_ftenc.c
new file mode 100644
index 000000000000..77079f54d255
--- /dev/null
+++ b/x11/libXfont/files/patch-FreeType_ftenc.c
@@ -0,0 +1,12 @@
+--- FreeType/ftenc.c.orig Sun Mar 21 18:28:11 2004
++++ FreeType/ftenc.c Sun Mar 21 18:28:50 2004
+@@ -29,7 +29,8 @@
+
+ #include "fontmisc.h"
+ #include "fontenc.h"
+-#include "freetype/freetype.h"
++#include "ft2build.h"
++#include FT_FREETYPE_H
+ #include "freetype/ttnameid.h"
+ #include "freetype/tttables.h"
+ #include "freetype/t1tables.h"
diff --git a/x11/libXfont/files/patch-FreeType_ftfuncs.c b/x11/libXfont/files/patch-FreeType_ftfuncs.c
new file mode 100644
index 000000000000..03afb6b4659f
--- /dev/null
+++ b/x11/libXfont/files/patch-FreeType_ftfuncs.c
@@ -0,0 +1,12 @@
+--- FreeType/ftfuncs.c.orig Sun Mar 21 18:29:28 2004
++++ FreeType/ftfuncs.c Sun Mar 21 18:29:46 2004
+@@ -31,7 +31,8 @@
+ #include "fntfilst.h"
+ #include "fontutil.h"
+ #include <X11/fonts/FSproto.h>
+-#include "freetype/freetype.h"
++#include "ft2build.h"
++#include FT_FREETYPE_H
+ #include "freetype/ftsizes.h"
+ #include "freetype/ttnameid.h"
+ #include "freetype/tttables.h"
diff --git a/x11/libXfont/files/patch-FreeType_fttools.c b/x11/libXfont/files/patch-FreeType_fttools.c
new file mode 100644
index 000000000000..dd19c889ec4a
--- /dev/null
+++ b/x11/libXfont/files/patch-FreeType_fttools.c
@@ -0,0 +1,12 @@
+--- FreeType/fttools.c.orig Sun Mar 21 18:30:36 2004
++++ FreeType/fttools.c Sun Mar 21 18:30:56 2004
+@@ -34,7 +34,8 @@
+ #endif
+
+ #include "font.h"
+-#include "freetype/freetype.h"
++#include "ft2build.h"
++#include FT_FREETYPE_H
+ #include "freetype/ftsnames.h"
+ #include "freetype/ttnameid.h"
+ #include "ft.h"