From owner-cvs-ports@FreeBSD.ORG Fri Jul 8 17:26:37 2005 Return-Path: X-Original-To: cvs-ports@FreeBSD.org Delivered-To: cvs-ports@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DF50516A41C for ; Fri, 8 Jul 2005 17:26:37 +0000 (GMT) (envelope-from freebsd@galle.com.br) Received: from data.galle.com.br (data.galle.com.br [200.246.25.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id CD26743D53 for ; Fri, 8 Jul 2005 17:26:36 +0000 (GMT) (envelope-from freebsd@galle.com.br) Received: from data.galle.com.br (data.galle.com.br [200.246.25.10]) by data.galle.com.br (8.13.3/8.13.3) with ESMTP id j68HO2nw041414; Fri, 8 Jul 2005 14:24:02 -0300 (BRST) (envelope-from freebsd@galle.com.br) Received: (from renato@localhost) by data.galle.com.br (8.13.3/8.13.3/Submit) id j68HNunJ041413; Fri, 8 Jul 2005 14:23:56 -0300 (BRST) (envelope-from freebsd@galle.com.br) X-Authentication-Warning: data.galle.com.br: renato set sender to freebsd@galle.com.br using -f Date: Fri, 8 Jul 2005 14:23:56 -0300 From: Renato Botelho To: Sergey Skvortsov Message-ID: <20050708172356.GA39591@galle.com.br> References: <200507080846.j688kaZa035777@repoman.freebsd.org> <20050708150057.GA19799@galle.com.br> <42CEA547.3000405@protey.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; x-action=pgp-signed Content-Disposition: inline In-Reply-To: <42CEA547.3000405@protey.ru> User-Agent: Mutt/1.5.9i Cc: cvs-ports@FreeBSD.org, Renato Botelho Subject: Re: cvs commit: ports/databases/p5-DBD-mysql Makefile distinfo X-BeenThere: cvs-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jul 2005 17:26:38 -0000 -----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@protey.ru Worked fine thanks - -- Renato Botelho 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-----