components/php-5_3/php-sapi/patches/230_php-ext-gd.patch
changeset 4165 cd344a63e64f
equal deleted inserted replaced
4164:78ce887dcfd6 4165:cd344a63e64f
       
     1 20854739 the phps do not build
       
     2 This fix will not be sent upstream since this version has been EOF
       
     3 by the community.
       
     4 
       
     5 --- php-5.3.29/ext/gd/config.m4_orig	2014-08-13 12:22:50.000000000 -0700
       
     6 +++ php-5.3.29/ext/gd/config.m4	2015-04-15 11:35:17.456859370 -0700
       
     7 @@ -162,7 +162,7 @@
       
     8    if test "$PHP_FREETYPE_DIR" != "no"; then
       
     9  
       
    10      for i in $PHP_FREETYPE_DIR /usr/local /usr; do
       
    11 -      if test -f "$i/include/freetype2/freetype/freetype.h"; then
       
    12 +      if test -f "$i/include/freetype2/freetype.h" || test -f "$i/include/freetype2/freetype/freetype.h"; then
       
    13          FREETYPE2_DIR=$i
       
    14          FREETYPE2_INC_DIR=$i/include/freetype2
       
    15          break