summaryrefslogtreecommitdiff
path: root/textproc/php53-xml/files/patch-compat.c
diff options
context:
space:
mode:
authorFlorian Smeets <flo@FreeBSD.org>2012-05-17 13:17:37 +0000
committerFlorian Smeets <flo@FreeBSD.org>2012-05-17 13:17:37 +0000
commitfc1f6932cf3dcfa3b57dc38b53fef057a78a9add (patch)
tree8dbf3d19f319e27e269ba1c0f36217d0983cc7f1 /textproc/php53-xml/files/patch-compat.c
parentadd a missing patch, without this the module compiles but functionality is (diff)
- Add a few more patches i missed in the original commit.
- Bump PORTREVISION accordingly
Notes
Notes: svn path=/head/; revision=296829
Diffstat (limited to 'textproc/php53-xml/files/patch-compat.c')
-rw-r--r--textproc/php53-xml/files/patch-compat.c13
1 files changed, 13 insertions, 0 deletions
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"