summaryrefslogtreecommitdiff
path: root/textproc/php72-xml/files/patch-compat.c
diff options
context:
space:
mode:
authorTorsten Zuehlsdorff <tz@FreeBSD.org>2017-11-16 10:48:48 +0000
committerTorsten Zuehlsdorff <tz@FreeBSD.org>2017-11-16 10:48:48 +0000
commit687591dd75e7bc33dfeb597493d97e5baaf89f1d (patch)
treea2ff3d816b255016827738be132f8fc8bff8f5d9 /textproc/php72-xml/files/patch-compat.c
parentUpdate the cmake family to 3.9.6 (skip 3.9.5, the upstream (diff)
Add PHP 7.2 RC6
Notable changes: - mcrypt module was removed - sodium module was added - sybase_ct artifacts removed Also many PECL ports will not work with this version since some files got renamed. Reviewed by: mat, ale, Rainer Duffner <rainer@ultra-secure.de> Differential Revision: https://reviews.freebsd.org/D12980
Notes
Notes: svn path=/head/; revision=454302
Diffstat (limited to 'textproc/php72-xml/files/patch-compat.c')
-rw-r--r--textproc/php72-xml/files/patch-compat.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/textproc/php72-xml/files/patch-compat.c b/textproc/php72-xml/files/patch-compat.c
new file mode 100644
index 000000000000..02125961b20c
--- /dev/null
+++ b/textproc/php72-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"