summaryrefslogtreecommitdiff
path: root/textproc/php53-xml
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/php53-xml')
-rw-r--r--textproc/php53-xml/Makefile2
-rw-r--r--textproc/php53-xml/files/patch-compat.c13
2 files changed, 15 insertions, 0 deletions
diff --git a/textproc/php53-xml/Makefile b/textproc/php53-xml/Makefile
index 8302d759c1e8..7379b96eb211 100644
--- a/textproc/php53-xml/Makefile
+++ b/textproc/php53-xml/Makefile
@@ -5,6 +5,8 @@
# $FreeBSD$
#
+PORTREVISION= 1
+
CATEGORIES= textproc
MASTERDIR= ${.CURDIR}/../../lang/php53
diff --git a/textproc/php53-xml/files/patch-compat.c b/textproc/php53-xml/files/patch-compat.c
new file mode 100644
index 000000000000..02125961b20c
--- /dev/null
+++ b/textproc/php53-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"