summaryrefslogtreecommitdiff
path: root/textproc/php83-xml
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-06-10 13:59:03 +0200
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-06-10 16:57:35 +0200
commit95967c2077762985235e47db1fe9949bed5cbe8f (patch)
treed18f44b10a5c6ae9c4444c192cac7277a2003e6a /textproc/php83-xml
parentdevel/py-python-gitlab: Update to 3.15.0 (diff)
*/*php83*: Sunrise
Please DO NOT use this version in production, it is an early test version. For upgrade notes please visit: https://github.com/php/php-src/blob/php-8.3.0alpha1/UPGRADING Changelog: https://github.com/php/php-src/blob/php-8.3.0alpha1/NEWS Sponsored by: Bounce Experts
Diffstat (limited to 'textproc/php83-xml')
-rw-r--r--textproc/php83-xml/Makefile7
-rw-r--r--textproc/php83-xml/files/patch-compat.c13
2 files changed, 20 insertions, 0 deletions
diff --git a/textproc/php83-xml/Makefile b/textproc/php83-xml/Makefile
new file mode 100644
index 000000000000..e9650249edbd
--- /dev/null
+++ b/textproc/php83-xml/Makefile
@@ -0,0 +1,7 @@
+CATEGORIES= textproc
+
+MASTERDIR= ${.CURDIR}/../../lang/php83
+
+PKGNAMESUFFIX= -xml
+
+.include "${MASTERDIR}/Makefile"
diff --git a/textproc/php83-xml/files/patch-compat.c b/textproc/php83-xml/files/patch-compat.c
new file mode 100644
index 000000000000..0752de99e2da
--- /dev/null
+++ b/textproc/php83-xml/files/patch-compat.c
@@ -0,0 +1,13 @@
+--- compat.c.orig 2023-06-06 15:54:29 UTC
++++ compat.c
+@@ -14,6 +14,10 @@
+ +----------------------------------------------------------------------+
+ */
+
++#ifdef HAVE_CONFIG_H
++#include "config.h"
++#endif
++
+ #include "php.h"
+ #if defined(HAVE_LIBXML) && (defined(HAVE_XML) || defined(HAVE_XMLRPC)) && !defined(HAVE_LIBEXPAT)
+ #include "expat_compat.h"