cvs commit: ports/databases/p5-DBD-mysql Makefile distinfo
Renato Botelho
freebsd at galle.com.br
Fri Jul 8 17:26:38 GMT 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Fri, Jul 08, 2005 at 08:09:43PM +0400, Sergey Skvortsov wrote:
> Renato Botelho wrote:
> >
> > on 5.4-RELEASE-p3 with perl-5.8.7:
> >
> > ===> Building for p5-DBD-mysql40-3.0001
> > dbdimp.c:2775: error: `MYSQL_BIND' undeclared (first use in this function)
> > *** Error code 1
>
> The best way is to upgrade at least to mysql-4.1.
I know, but didn't have time to do it yet.
> Anyway, try this patch (put patch-dbdimp.c to "files" dir and rebuild port):
>
> patch-dbdimp.c
> --- dbdimp.c.orig Fri Jul 8 20:04:04 2005
> +++ dbdimp.c Fri Jul 8 20:04:30 2005
> @@ -2772,10 +2772,11 @@
> unsigned long *lengths;
> int rc;
> imp_sth_fbh_t *fbh;
> - MYSQL_BIND *bind;
> D_imp_dbh_from_sth;
>
> #if MYSQL_VERSION_ID >=SERVER_PREPARE_VERSION
> + MYSQL_BIND *bind;
> +
> if (imp_sth->use_server_side_prepare)
> {
> if (!DBIc_ACTIVE(imp_sth) )
>
>
> --
> Sergey Skvortsov
> mailto: skv at protey.ru
Worked fine
thanks
- --
Renato Botelho <freebsd at galle dot com dot br>
AIM: RBGargaBR | ICQ: 54596223
GnuPG Key: http://www.galle.com.br/~renato/pubkey.asc
They also surf who only stand on waves.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (FreeBSD)
iD4DBQFCzras6CRbiSJE7akRAh+7AJjVQyT5q9mMiTqLt831c9ek7cEuAJ4g5quS
hEVl7/F0+d7zIA6CGaZyrQ==
=jKXA
-----END PGP SIGNATURE-----
More information about the cvs-ports
mailing list