From owner-freebsd-ports@FreeBSD.ORG Thu Dec 16 08:39:38 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1618916A4CE for ; Thu, 16 Dec 2004 08:39:38 +0000 (GMT) Received: from vsmtp3.tin.it (vsmtp3alice.tin.it [212.216.176.143]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9D74A43D53 for ; Thu, 16 Dec 2004 08:39:37 +0000 (GMT) (envelope-from ferruccio.vitale@tin.it) Received: from [172.20.3.83] (172.20.3.83) by vsmtp3.tin.it (7.0.027) id 41BB3A41002C2178; Thu, 16 Dec 2004 09:39:37 +0100 In-Reply-To: <41C09514.2040909@comcast.net> References: <41C09514.2040909@comcast.net> Mime-Version: 1.0 (Apple Message framework v619) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <128AC066-4F3E-11D9-947D-000393B296CE@tin.it> Content-Transfer-Encoding: 7bit From: Ferruccio Vitale Date: Thu, 16 Dec 2004 09:40:00 +0100 To: Derrick Edwards X-Mailer: Apple Mail (2.619) cc: ports@FreeBSD.org Subject: Re: FreeBSD Port: mysqlcc-0.9.4 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Dec 2004 08:39:38 -0000 > Please apply this patch. Regards, Ferruccio PS: I've already posted a PR > --- CMySQL.cpp.orig Sun Dec 14 00:10:44 2003 > +++ CMySQL.cpp Wed Dec 15 13:54:39 2004 > @@ -451,7 +451,11 @@ > if (!isConnected()) > return false; > > +#if ( MYSQL_VERSION_ID == 40103 ) || ( MYSQL_VERSION_ID == 50001 ) > || ( MYSQL_VERSION_ID == 40107 ) > + if (mysql_shutdown(mysql,SHUTDOWN_DEFAULT) != 0) > +#else > if (mysql_shutdown(mysql) != 0) > +#endif > { > if (emiterror) > emitError(); On Dec 15, 2004, at 20:48, Derrick Edwards wrote: > Hi, > I was wondering if there was a way that I could use mysqlcc and mysql > 4.1.7? I have 4.1.7 installed so mysqlcc errors out because it tries > to install 4.0.22. Is there workaround for this? > Thanks for your assistance > Dantavious >