php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #74443
Patch patch-inc-dirs revision 2017-04-14 17:23 UTC by mi+php at aldan dot algebra dot com

Patch patch-inc-dirs for GD related Bug #74443

Patch version 2017-04-14 17:23 UTC

Return to Bug #74443 | Download this patch
Patch Revisions:

Developer: mi+php@aldan.algebra.com

--- config.m4	2017-03-14 07:26:09.000000000 -0400
+++ config.m4	2017-04-14 12:48:12.529657000 -0400
@@ -360,5 +360,5 @@
     PHP_ADD_BUILD_DIR($ext_builddir/libgd)
-    GDLIB_CFLAGS="-I$ext_srcdir/libgd $GDLIB_CFLAGS"
+    GDLIB_CFLAGS="-I../.. -I$ext_srcdir/libgd $GDLIB_CFLAGS"
     GD_HEADER_DIRS="ext/gd/ ext/gd/libgd/"
 
     PHP_TEST_BUILD(foobar, [], [
@@ -366,5 +366,5 @@
     ], [ $GD_SHARED_LIBADD ], [char foobar () {}])
   else
     GD_HEADER_DIRS="ext/gd/"
-    GDLIB_CFLAGS="-I$GD_INCLUDE $GDLIB_CFLAGS"
+    GDLIB_CFLAGS="-I../.. -I$GD_INCLUDE $GDLIB_CFLAGS"
     PHP_ADD_INCLUDE($GD_INCLUDE)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Dec 27 18:01:30 2024 UTC