From ec7cb2fd76818bccc5006c5f9021cf113546334a Mon Sep 17 00:00:00 2001 From: miwi Date: Thu, 30 May 2013 16:44:50 +0000 Subject: - Fix build for 8.x --- databases/pecl-mongo/Makefile | 2 +- databases/pecl-mongo/files/patch-mcon_types.h | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 databases/pecl-mongo/files/patch-mcon_types.h (limited to 'databases') diff --git a/databases/pecl-mongo/Makefile b/databases/pecl-mongo/Makefile index bcdc713a32a5..c72a9fc58b89 100644 --- a/databases/pecl-mongo/Makefile +++ b/databases/pecl-mongo/Makefile @@ -17,7 +17,7 @@ USE_PHP= yes USE_PHP_BUILD= spl USE_PHPIZE= yes USE_PHPEXT= yes - +CONFIGURE_ARGS= --enable-mongo=${LOCALBASE} SUB_FILES= pkg-message post-install: diff --git a/databases/pecl-mongo/files/patch-mcon_types.h b/databases/pecl-mongo/files/patch-mcon_types.h new file mode 100644 index 000000000000..035f96ca7c39 --- /dev/null +++ b/databases/pecl-mongo/files/patch-mcon_types.h @@ -0,0 +1,10 @@ +--- mcon/types.h.orgi 2013-05-31 00:39:17.000000000 +0800 ++++ mcon/types.h 2013-05-31 00:40:39.000000000 +0800 +@@ -36,6 +36,7 @@ + # define va_copy(d,s) ((void)((d) = (s))) + #endif + #else ++# include + # include + # include + # include -- cgit