summaryrefslogtreecommitdiff
path: root/lang/php4
diff options
context:
space:
mode:
authorAlex Dupre <ale@FreeBSD.org>2004-03-18 16:02:49 +0000
committerAlex Dupre <ale@FreeBSD.org>2004-03-18 16:02:49 +0000
commit6ae200ffc93fde60b28bbba2f020db78601ac4a1 (patch)
tree472cb64feccfe8ce5c563ff6b40dc76e4906d607 /lang/php4
parent- Add SIZE (diff)
Fix build with new freetype2 library.
PR: ports/64417 Submitted by: Renato Botelho <renato@galle.com.br>
Diffstat (limited to 'lang/php4')
-rw-r--r--lang/php4/files/patch-ext::gd::libgd::gdft.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/lang/php4/files/patch-ext::gd::libgd::gdft.c b/lang/php4/files/patch-ext::gd::libgd::gdft.c
new file mode 100644
index 000000000000..31e16dc71e8b
--- /dev/null
+++ b/lang/php4/files/patch-ext::gd::libgd::gdft.c
@@ -0,0 +1,14 @@
+--- ext/gd/libgd/gdft.c.orig Thu Mar 18 16:41:43 2004
++++ ext/gd/libgd/gdft.c Thu Mar 18 16:49:39 2004
+@@ -60,8 +60,9 @@
+ #else
+
+ #include "gdcache.h"
+-#include "freetype/freetype.h"
+-#include "freetype/ftglyph.h"
++#include <ft2build.h>
++#include FT_FREETYPE_H
++#include FT_GLYPH_H
+
+ /* number of fonts cached before least recently used is replaced */
+ #define FONTCACHESIZE 6