summaryrefslogtreecommitdiff
path: root/textproc/php84-xml
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2024-07-28 03:40:58 +0200
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2024-07-28 15:15:17 +0200
commit42db2c39e566955903a9176e0a4c4c7589d5aaca (patch)
tree1671a458d12a32d210dd96aaed03e7d0fcd2c11c /textproc/php84-xml
parentlang/php82: Update version 8.2.20=>8.2.21 (diff)
*/*php84*: 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.4.0alpha1/UPGRADING Changelog: https://github.com/php/php-src/blob/php-8.4.0alpha1/NEWS
Diffstat (limited to 'textproc/php84-xml')
-rw-r--r--textproc/php84-xml/Makefile7
-rw-r--r--textproc/php84-xml/files/patch-compat.c13
2 files changed, 20 insertions, 0 deletions
diff --git a/textproc/php84-xml/Makefile b/textproc/php84-xml/Makefile
new file mode 100644
index 000000000000..1d04b9033f65
--- /dev/null
+++ b/textproc/php84-xml/Makefile
@@ -0,0 +1,7 @@
+CATEGORIES= textproc
+
+MASTERDIR= ${.CURDIR}/../../lang/php84
+
+PKGNAMESUFFIX= -xml
+
+.include "${MASTERDIR}/Makefile"
diff --git a/textproc/php84-xml/files/patch-compat.c b/textproc/php84-xml/files/patch-compat.c
new file mode 100644
index 000000000000..0752de99e2da
--- /dev/null
+++ b/textproc/php84-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"