summaryrefslogtreecommitdiff
path: root/graphics/gd1
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2004-03-21 23:32:28 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2004-03-21 23:32:28 +0000
commit6bc841662700d24e0a1f176d7881b7c7ffb5d76f (patch)
tree9c088ff970f7c23d674edbb7656529d623cc78bd /graphics/gd1
parent- This also needs ghostscript to build it's docs (diff)
Fix build with freetype2-2.1.7.
Reported by: bento via kris
Notes
Notes: svn path=/head/; revision=104869
Diffstat (limited to 'graphics/gd1')
-rw-r--r--graphics/gd1/files/patch-gdft.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/graphics/gd1/files/patch-gdft.c b/graphics/gd1/files/patch-gdft.c
new file mode 100644
index 000000000000..b7e60e23b175
--- /dev/null
+++ b/graphics/gd1/files/patch-gdft.c
@@ -0,0 +1,12 @@
+--- gdft.c.orig Sun Mar 21 18:25:37 2004
++++ gdft.c Sun Mar 21 18:26:17 2004
+@@ -33,7 +33,8 @@
+ #else
+
+ #include "gdcache.h"
+-#include "freetype/freetype.h"
++#include "ft2build.h"
++#include FT_FREETYPE_H
+ #include "freetype/ftglyph.h"
+
+ /* number of fonts cached before least recently used is replaced */