aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
Diffstat (limited to 'databases')
-rw-r--r--databases/p5-DBD-mysql/Makefile1
-rw-r--r--databases/p5-DBD-mysql/files/patch-dbdimp.c12
2 files changed, 13 insertions, 0 deletions
diff --git a/databases/p5-DBD-mysql/Makefile b/databases/p5-DBD-mysql/Makefile
index 08998ac712d6..92145f2fda10 100644
--- a/databases/p5-DBD-mysql/Makefile
+++ b/databases/p5-DBD-mysql/Makefile
@@ -7,6 +7,7 @@
PORTNAME= DBD-mysql
PORTVERSION= 3.0001
+PORTREVISION= 1
CATEGORIES= databases perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= DBD
diff --git a/databases/p5-DBD-mysql/files/patch-dbdimp.c b/databases/p5-DBD-mysql/files/patch-dbdimp.c
new file mode 100644
index 000000000000..bbeb09f9a7a4
--- /dev/null
+++ b/databases/p5-DBD-mysql/files/patch-dbdimp.c
@@ -0,0 +1,12 @@
+--- dbdimp.c.orig Mon Jul 11 11:37:03 2005
++++ dbdimp.c Mon Jul 11 11:37:30 2005
+@@ -2772,7 +2772,9 @@
+ unsigned long *lengths;
+ int rc;
+ imp_sth_fbh_t *fbh;
++#if MYSQL_VERSION_ID >=SERVER_PREPARE_VERSION
+ MYSQL_BIND *bind;
++#endif
+ D_imp_dbh_from_sth;
+
+ #if MYSQL_VERSION_ID >=SERVER_PREPARE_VERSION