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:
parent
9dae7d7c91
commit
6ae200ffc9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=104484
14
lang/php4/files/patch-ext::gd::libgd::gdft.c
Normal file
14
lang/php4/files/patch-ext::gd::libgd::gdft.c
Normal 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
|
@ -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)
|
||||
|
11
lang/php5/files/patch-ext::gd::libgd::gdft.c
Normal file
11
lang/php5/files/patch-ext::gd::libgd::gdft.c
Normal 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
|
@ -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)
|
||||
|
11
lang/php53/files/patch-ext::gd::libgd::gdft.c
Normal file
11
lang/php53/files/patch-ext::gd::libgd::gdft.c
Normal 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
|
Loading…
x
Reference in New Issue
Block a user