From a85e4d53367c9a4ccca09903dce3c7e30dcc04c7 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sat, 20 Jul 2019 07:57:13 +0200 Subject: [PATCH] Fixed bug #78314 (missing freetype support/functions with external gd) --- NEWS | 4 ++++ ext/gd/config.m4 | 3 +++ 2 files changed, 7 insertions(+) diff --git a/NEWS b/NEWS index 10cb9641c18..c62b1efe1b1 100644 --- a/NEWS +++ b/NEWS @@ -10,6 +10,10 @@ PHP NEWS process substitution). (Nikita) . Fixed bug #52752 (Crash when lexing). (Nikita) +- GD: + . Fixed bug #78314 (missing freetype support/functions with external gd) + (Remi) + - Libxml: . Fixed bug #78279 (libxml_disable_entity_loader settings is shared between requests (cgi-fcgi)). (Nikita) diff --git a/ext/gd/config.m4 b/ext/gd/config.m4 index 742ed412cdb..662a9c8c2e6 100644 --- a/ext/gd/config.m4 +++ b/ext/gd/config.m4 @@ -177,6 +177,9 @@ dnl Various checks for GD features ], [ $GD_SHARED_LIBADD ], [char foobar () {}]) else + PHP_GD_XPM + PHP_GD_FREETYPE2 + extra_sources="gd_compat.c" PKG_CHECK_MODULES([GDLIB], [gdlib >= 2.1.0]) PHP_EVAL_LIBLINE($GDLIB_LIBS, GD_SHARED_LIBADD)