summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile8
-rw-r--r--textproc/php85-ctype/Makefile7
-rw-r--r--textproc/php85-dom/Makefile7
-rw-r--r--textproc/php85-dom/files/patch-lexbor_selectors-adapted_selectors.c11
-rw-r--r--textproc/php85-dom/files/patch-parentnode_css__selectors.c11
-rw-r--r--textproc/php85-enchant/Makefile12
-rw-r--r--textproc/php85-simplexml/Makefile7
-rw-r--r--textproc/php85-xml/Makefile7
-rw-r--r--textproc/php85-xml/files/patch-compat.c13
-rw-r--r--textproc/php85-xmlreader/Makefile7
-rw-r--r--textproc/php85-xmlwriter/Makefile7
-rw-r--r--textproc/php85-xsl/Makefile12
12 files changed, 109 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index d826579ba5e4..cd5de1cc450d 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1292,6 +1292,14 @@
SUBDIR += php84-xmlreader
SUBDIR += php84-xmlwriter
SUBDIR += php84-xsl
+ SUBDIR += php85-ctype
+ SUBDIR += php85-dom
+ SUBDIR += php85-enchant
+ SUBDIR += php85-simplexml
+ SUBDIR += php85-xml
+ SUBDIR += php85-xmlreader
+ SUBDIR += php85-xmlwriter
+ SUBDIR += php85-xsl
SUBDIR += pict
SUBDIR += po4a
SUBDIR += pod2mdoc
diff --git a/textproc/php85-ctype/Makefile b/textproc/php85-ctype/Makefile
new file mode 100644
index 000000000000..ba75413cef31
--- /dev/null
+++ b/textproc/php85-ctype/Makefile
@@ -0,0 +1,7 @@
+CATEGORIES= textproc
+
+MASTERDIR= ${.CURDIR}/../../lang/php85
+
+PKGNAMESUFFIX= -ctype
+
+.include "${MASTERDIR}/Makefile"
diff --git a/textproc/php85-dom/Makefile b/textproc/php85-dom/Makefile
new file mode 100644
index 000000000000..6f1e31e35297
--- /dev/null
+++ b/textproc/php85-dom/Makefile
@@ -0,0 +1,7 @@
+CATEGORIES= textproc
+
+MASTERDIR= ${.CURDIR}/../../lang/php85
+
+PKGNAMESUFFIX= -dom
+
+.include "${MASTERDIR}/Makefile"
diff --git a/textproc/php85-dom/files/patch-lexbor_selectors-adapted_selectors.c b/textproc/php85-dom/files/patch-lexbor_selectors-adapted_selectors.c
new file mode 100644
index 000000000000..2d91481ddf5c
--- /dev/null
+++ b/textproc/php85-dom/files/patch-lexbor_selectors-adapted_selectors.c
@@ -0,0 +1,11 @@
+--- lexbor/selectors-adapted/selectors.c.orig 2025-07-02 12:25:47 UTC
++++ lexbor/selectors-adapted/selectors.c
+@@ -13,7 +13,7 @@
+ #include <Zend/zend_API.h>
+ #include <php.h>
+
+-#include "ext/dom/lexbor/selectors-adapted/selectors.h"
++#include "selectors.h"
+ #include "../../namespace_compat.h"
+ #include "../../domexception.h"
+ #include "../../php_dom.h"
diff --git a/textproc/php85-dom/files/patch-parentnode_css__selectors.c b/textproc/php85-dom/files/patch-parentnode_css__selectors.c
new file mode 100644
index 000000000000..65f4d3670ad0
--- /dev/null
+++ b/textproc/php85-dom/files/patch-parentnode_css__selectors.c
@@ -0,0 +1,11 @@
+--- parentnode/css_selectors.c.orig 2025-07-02 12:24:35 UTC
++++ parentnode/css_selectors.c
+@@ -23,7 +23,7 @@
+ #include "../php_dom.h"
+ #include "../obj_map.h"
+
+-#include "ext/lexbor/lexbor/css/parser.h"
++#include "lexbor/css/parser.h"
+ #include "../lexbor/selectors-adapted/selectors.h"
+
+ // TODO: optimization idea: cache the parsed selectors in an LRU fashion?
diff --git a/textproc/php85-enchant/Makefile b/textproc/php85-enchant/Makefile
new file mode 100644
index 000000000000..5442d92eab5b
--- /dev/null
+++ b/textproc/php85-enchant/Makefile
@@ -0,0 +1,12 @@
+CATEGORIES= textproc
+
+MASTERDIR= ${.CURDIR}/../../lang/php85
+
+PKGNAMESUFFIX= -enchant
+
+post-patch:
+ ${REINPLACE_CMD} -e \
+ 's|#include "../spl/spl_exceptions.h"|#include "ext/spl/spl_exceptions.h"|g' \
+ ${WRKSRC}/enchant.c
+
+.include "${MASTERDIR}/Makefile"
diff --git a/textproc/php85-simplexml/Makefile b/textproc/php85-simplexml/Makefile
new file mode 100644
index 000000000000..5375e538bfc0
--- /dev/null
+++ b/textproc/php85-simplexml/Makefile
@@ -0,0 +1,7 @@
+CATEGORIES= textproc
+
+MASTERDIR= ${.CURDIR}/../../lang/php85
+
+PKGNAMESUFFIX= -simplexml
+
+.include "${MASTERDIR}/Makefile"
diff --git a/textproc/php85-xml/Makefile b/textproc/php85-xml/Makefile
new file mode 100644
index 000000000000..e03512ead698
--- /dev/null
+++ b/textproc/php85-xml/Makefile
@@ -0,0 +1,7 @@
+CATEGORIES= textproc
+
+MASTERDIR= ${.CURDIR}/../../lang/php85
+
+PKGNAMESUFFIX= -xml
+
+.include "${MASTERDIR}/Makefile"
diff --git a/textproc/php85-xml/files/patch-compat.c b/textproc/php85-xml/files/patch-compat.c
new file mode 100644
index 000000000000..0752de99e2da
--- /dev/null
+++ b/textproc/php85-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"
diff --git a/textproc/php85-xmlreader/Makefile b/textproc/php85-xmlreader/Makefile
new file mode 100644
index 000000000000..988b8e5628fd
--- /dev/null
+++ b/textproc/php85-xmlreader/Makefile
@@ -0,0 +1,7 @@
+CATEGORIES= textproc
+
+MASTERDIR= ${.CURDIR}/../../lang/php85
+
+PKGNAMESUFFIX= -xmlreader
+
+.include "${MASTERDIR}/Makefile"
diff --git a/textproc/php85-xmlwriter/Makefile b/textproc/php85-xmlwriter/Makefile
new file mode 100644
index 000000000000..6bd6d56be8e6
--- /dev/null
+++ b/textproc/php85-xmlwriter/Makefile
@@ -0,0 +1,7 @@
+CATEGORIES= textproc
+
+MASTERDIR= ${.CURDIR}/../../lang/php85
+
+PKGNAMESUFFIX= -xmlwriter
+
+.include "${MASTERDIR}/Makefile"
diff --git a/textproc/php85-xsl/Makefile b/textproc/php85-xsl/Makefile
new file mode 100644
index 000000000000..2b2ba0361e4c
--- /dev/null
+++ b/textproc/php85-xsl/Makefile
@@ -0,0 +1,12 @@
+CATEGORIES= textproc
+
+MASTERDIR= ${.CURDIR}/../../lang/php85
+
+PKGNAMESUFFIX= -xsl
+
+post-patch:
+ ${REINPLACE_CMD} -e \
+ 's|#include "../dom/xml_common.h"|#include "ext/dom/xml_common.h"|g' \
+ ${WRKSRC}/php_xsl.h
+
+.include "${MASTERDIR}/Makefile"