summaryrefslogtreecommitdiff
path: root/textproc/php80-xml/files/patch-compat.c
diff options
context:
space:
mode:
authorTorsten Zuehlsdorff <tz@FreeBSD.org>2020-10-21 22:58:51 +0000
committerTorsten Zuehlsdorff <tz@FreeBSD.org>2020-10-21 22:58:51 +0000
commit1061308ba7160b89e64adf0349a3a297137e9a8b (patch)
tree7759eddebe7bd2de031762b7cab386e48e4b52b4 /textproc/php80-xml/files/patch-compat.c
parent- Update to 0.10.1.0.0 (diff)
Welcome PHP 8.0 RC 2 to the ports tree
There are many greater changes including: - json is now part of core - xmlrpc is removed - More than 150 backward incompatible changes Have a look at: https://github.com/php/php-src/blob/php-8.0.0RC2/UPGRADING Reviewed by: ale, mfechner, Pascal Christen Sponsored by: PHP Update Service Differential Revision: https://reviews.freebsd.org/D26848
Diffstat (limited to 'textproc/php80-xml/files/patch-compat.c')
-rw-r--r--textproc/php80-xml/files/patch-compat.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/textproc/php80-xml/files/patch-compat.c b/textproc/php80-xml/files/patch-compat.c
new file mode 100644
index 000000000000..02125961b20c
--- /dev/null
+++ b/textproc/php80-xml/files/patch-compat.c
@@ -0,0 +1,13 @@
+--- compat.c.orig Tue Jul 20 10:55:02 2004
++++ compat.c Tue Jul 20 10:55:55 2004
+@@ -16,6 +16,10 @@
+ +----------------------------------------------------------------------+
+ */
+
++#ifdef HAVE_CONFIG_H
++#include "config.h"
++#endif
++
+ #include "php.h"
+ #if defined(HAVE_LIBXML) && defined(HAVE_XML) && !defined(HAVE_LIBEXPAT)
+ #include "expat_compat.h"