summaryrefslogtreecommitdiff
path: root/converters/php52-mbstring
diff options
context:
space:
mode:
Diffstat (limited to 'converters/php52-mbstring')
-rw-r--r--converters/php52-mbstring/Makefile14
-rw-r--r--converters/php52-mbstring/files/patch-config.m410
-rw-r--r--converters/php52-mbstring/files/patch-oniguruma_regerror.c10
3 files changed, 34 insertions, 0 deletions
diff --git a/converters/php52-mbstring/Makefile b/converters/php52-mbstring/Makefile
new file mode 100644
index 000000000000..5dfb09658087
--- /dev/null
+++ b/converters/php52-mbstring/Makefile
@@ -0,0 +1,14 @@
+# New ports collection makefile for: php52-mbstring
+# Date created: 17 Apr 2010
+# Whom: Alex Keda <admin@lissyara.su>
+#
+# $FreeBSD$
+#
+
+CATEGORIES= converters
+
+MASTERDIR= ${.CURDIR}/../../lang/php52
+
+PKGNAMESUFFIX= -mbstring
+
+.include "${MASTERDIR}/Makefile"
diff --git a/converters/php52-mbstring/files/patch-config.m4 b/converters/php52-mbstring/files/patch-config.m4
new file mode 100644
index 000000000000..619440601c7a
--- /dev/null
+++ b/converters/php52-mbstring/files/patch-config.m4
@@ -0,0 +1,10 @@
+--- config.m4.orig Fri Sep 8 07:42:50 2006
++++ config.m4 Fri Sep 8 07:43:00 2006
+@@ -66,7 +66,6 @@
+ int foo(int x, ...) {
+ va_list va;
+ va_start(va, x);
+- va_arg(va, int);
+ va_arg(va, char *);
+ va_arg(va, double);
+ return 0;
diff --git a/converters/php52-mbstring/files/patch-oniguruma_regerror.c b/converters/php52-mbstring/files/patch-oniguruma_regerror.c
new file mode 100644
index 000000000000..969b57625924
--- /dev/null
+++ b/converters/php52-mbstring/files/patch-oniguruma_regerror.c
@@ -0,0 +1,10 @@
+--- oniguruma/regerror.c.orig Sat Jan 28 09:53:54 2006
++++ oniguruma/regerror.c Sat Jan 28 09:56:58 2006
+@@ -27,6 +27,7 @@
+ * SUCH DAMAGE.
+ */
+
++#include "config.h"
+ #include "regint.h"
+ #include <stdio.h> /* for vsnprintf() */
+