summaryrefslogtreecommitdiff
path: root/textproc/php72-xml
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/php72-xml')
-rw-r--r--textproc/php72-xml/Makefile9
-rw-r--r--textproc/php72-xml/files/patch-compat.c13
2 files changed, 22 insertions, 0 deletions
diff --git a/textproc/php72-xml/Makefile b/textproc/php72-xml/Makefile
new file mode 100644
index 000000000000..0e4e6674d31a
--- /dev/null
+++ b/textproc/php72-xml/Makefile
@@ -0,0 +1,9 @@
+# $FreeBSD$
+
+CATEGORIES= textproc
+
+MASTERDIR= ${.CURDIR}/../../lang/php72
+
+PKGNAMESUFFIX= -xml
+
+.include "${MASTERDIR}/Makefile"
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"