diff options
author | skv <skv@FreeBSD.org> | 2005-07-11 15:45:31 +0800 |
---|---|---|
committer | skv <skv@FreeBSD.org> | 2005-07-11 15:45:31 +0800 |
commit | 8caac2220197ad07631bd135300788ca32ed1ffb (patch) | |
tree | 58fdada3e12129b600a54a3db790765a8a15e4f8 /databases | |
parent | c2472dc95a83bcccc83fa93093c17940911619dc (diff) | |
download | freebsd-ports-gnome-8caac2220197ad07631bd135300788ca32ed1ffb.tar.gz freebsd-ports-gnome-8caac2220197ad07631bd135300788ca32ed1ffb.tar.zst freebsd-ports-gnome-8caac2220197ad07631bd135300788ca32ed1ffb.zip |
Fix build for mysql < 4.0103
Diffstat (limited to 'databases')
-rw-r--r-- | databases/p5-DBD-mysql/Makefile | 1 | ||||
-rw-r--r-- | databases/p5-DBD-mysql/files/patch-dbdimp.c | 12 |
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 |