mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
lang/php74: Remove another patch
This one should have been in 512441.
This commit is contained in:
parent
8bd2d80422
commit
bf1258e342
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=512442
@ -1,28 +0,0 @@
|
||||
--- config.m4.orig 2018-09-25 09:07:58 UTC
|
||||
+++ config.m4
|
||||
@@ -285,6 +285,7 @@ dnl enable the support in bundled GD lib
|
||||
|
||||
if test -n "$GD_XPM_DIR"; then
|
||||
AC_DEFINE(HAVE_GD_XPM, 1, [ ])
|
||||
+ AC_DEFINE(HAVE_XPM, 1, [ ])
|
||||
GDLIB_CFLAGS="$GDLIB_CFLAGS -DHAVE_XPM"
|
||||
fi
|
||||
|
||||
@@ -347,7 +348,7 @@ if test "$PHP_GD" != "no"; then
|
||||
|
||||
if test "$GD_MODULE_TYPE" = "builtin"; then
|
||||
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, [], [
|
||||
@@ -355,7 +356,7 @@ if test "$PHP_GD" != "no"; then
|
||||
], [ $GD_SHARED_LIBADD ], [char foobar () {}])
|
||||
else
|
||||
GD_HEADER_DIRS="ext/gd/"
|
||||
- GDLIB_CFLAGS="-I$GD_INCLUDE $GDLIB_CFLAGS"
|
||||
+ GDLIB_CFLAGS="-I../.. -I$ext_srcdir/libgd $GDLIB_CFLAGS"
|
||||
PHP_ADD_INCLUDE($GD_INCLUDE)
|
||||
PHP_CHECK_LIBRARY(gd, gdImageCreate, [], [
|
||||
AC_MSG_ERROR([GD build test failed. Please check the config.log for details.])
|
Loading…
Reference in New Issue
Block a user