1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-05 11:35:01 +00:00

Fix build with new freetype2 library.

PR:		ports/64417
Submitted by:	Renato Botelho <renato@galle.com.br>
This commit is contained in:
Alex Dupre 2004-03-18 16:02:49 +00:00
parent 9dae7d7c91
commit 6ae200ffc9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=104484
5 changed files with 36 additions and 2 deletions

View File

@ -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

View File

@ -45,7 +45,6 @@ PKGNAMESUFFIX= -cli
.endif
.endif
DISTNAME= php-${PORTVERSION:S/.a/a/}
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER?= ale@FreeBSD.org
COMMENT?= PHP Scripting Language (Apache Module and CLI)

View File

@ -0,0 +1,11 @@
--- ext/gd/libgd/gdft.c.orig Sun Dec 28 22:07:18 2003
+++ ext/gd/libgd/gdft.c Thu Mar 18 16:54:09 2004
@@ -63,7 +63,7 @@
#include "gdcache.h"
#include <ft2build.h>
#include FT_FREETYPE_H
-#include "freetype/ftglyph.h"
+#include FT_GLYPH_H
/* number of fonts cached before least recently used is replaced */
#define FONTCACHESIZE 6

View File

@ -45,7 +45,6 @@ PKGNAMESUFFIX= -cli
.endif
.endif
DISTNAME= php-${PORTVERSION:S/.a/a/}
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER?= ale@FreeBSD.org
COMMENT?= PHP Scripting Language (Apache Module and CLI)

View File

@ -0,0 +1,11 @@
--- ext/gd/libgd/gdft.c.orig Sun Dec 28 22:07:18 2003
+++ ext/gd/libgd/gdft.c Thu Mar 18 16:54:09 2004
@@ -63,7 +63,7 @@
#include "gdcache.h"
#include <ft2build.h>
#include FT_FREETYPE_H
-#include "freetype/ftglyph.h"
+#include FT_GLYPH_H
/* number of fonts cached before least recently used is replaced */
#define FONTCACHESIZE 6