From owner-cvs-ports@FreeBSD.ORG Fri Jul 8 16:09:53 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 2071516A41C for ; Fri, 8 Jul 2005 16:09:53 +0000 (GMT) (envelope-from skv@protey.ru) Received: from mail.3wgraphics.com (mail.3wgraphics.com [194.87.91.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7917943D67 for ; Fri, 8 Jul 2005 16:09:49 +0000 (GMT) (envelope-from skv@protey.ru) Received: from [192.168.0.1] (helo=[192.168.0.1]) by mail.3wgraphics.com with esmtp id 1DqvQ7-0008Nl-Ic; Fri, 08 Jul 2005 20:09:43 +0400 Message-ID: <42CEA547.3000405@protey.ru> Date: Fri, 08 Jul 2005 20:09:43 +0400 From: Sergey Skvortsov Organization: 3W Graphics User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b) Gecko/20050217 MIME-Version: 1.0 To: Renato Botelho References: <200507080846.j688kaZa035777@repoman.freebsd.org> <20050708150057.GA19799@galle.com.br> In-Reply-To: <20050708150057.GA19799@galle.com.br> X-Enigmail-Version: 0.90.2.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: cvs-ports@FreeBSD.org 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 16:09:53 -0000 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. 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