summaryrefslogtreecommitdiff
path: root/databases/php56-pgsql
diff options
context:
space:
mode:
Diffstat (limited to 'databases/php56-pgsql')
-rw-r--r--databases/php56-pgsql/Makefile10
-rw-r--r--databases/php56-pgsql/files/patch-pgsql.c11
2 files changed, 21 insertions, 0 deletions
diff --git a/databases/php56-pgsql/Makefile b/databases/php56-pgsql/Makefile
new file mode 100644
index 000000000000..3664f9d0e982
--- /dev/null
+++ b/databases/php56-pgsql/Makefile
@@ -0,0 +1,10 @@
+# Created by: Alex Dupre <ale@FreeBSD.org>
+# $FreeBSD$
+
+CATEGORIES= databases
+
+MASTERDIR= ${.CURDIR}/../../lang/php56
+
+PKGNAMESUFFIX= -pgsql
+
+.include "${MASTERDIR}/Makefile"
diff --git a/databases/php56-pgsql/files/patch-pgsql.c b/databases/php56-pgsql/files/patch-pgsql.c
new file mode 100644
index 000000000000..667bb89ded7c
--- /dev/null
+++ b/databases/php56-pgsql/files/patch-pgsql.c
@@ -0,0 +1,11 @@
+--- pgsql.c.orig 2010-01-03 10:23:27.000000000 +0100
++++ pgsql.c 2010-03-08 11:00:26.000000000 +0100
+@@ -728,7 +731,7 @@
+ static int le_link, le_plink, le_result, le_lofp, le_string;
+
+ /* {{{ _php_pgsql_trim_message */
+-static char * _php_pgsql_trim_message(const char *message, int *len)
++static char * _php_pgsql_trim_message(const char *message, size_t *len)
+ {
+ register int i = strlen(message)-1;
+