From owner-freebsd-ports@FreeBSD.ORG Sun Sep 24 17:37:40 2006 Return-Path: X-Original-To: ports@freebsd.org 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 8657216A500 for ; Sun, 24 Sep 2006 17:37:40 +0000 (UTC) (envelope-from bkoenig@cs.tu-berlin.de) Received: from mail.liberty-hosting.de (mail.smartterra.de [195.225.132.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8B61B43D58 for ; Sun, 24 Sep 2006 17:37:38 +0000 (GMT) (envelope-from bkoenig@cs.tu-berlin.de) Received: from mail.liberty-hosting.de ([195.225.132.203]) by localhost (liberty-mail [195.225.132.203]) (amavisd-new, port 10024) with ESMTP id 24448-05 for ; Sun, 24 Sep 2006 19:37:35 +0200 (CEST) Received: from smtp.alpha-tierchen.de (port-212-202-42-252.dynamic.qsc.de [212.202.42.252]) by mail.liberty-hosting.de (Postfix) with ESMTP id AD65016088F for ; Sun, 24 Sep 2006 19:37:35 +0200 (CEST) Received: from [192.168.1.2] (muhkuh.local [192.168.1.2]) by smtp.alpha-tierchen.de (Postfix) with ESMTP id 1919452860 for ; Sun, 24 Sep 2006 19:37:18 +0200 (CEST) Message-ID: <4516C25B.1020109@cs.tu-berlin.de> Date: Sun, 24 Sep 2006 19:37:31 +0200 From: =?ISO-8859-15?Q?Bj=F6rn_K=F6nig?= User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: de-DE, de, en-us, en MIME-Version: 1.0 To: ports@freebsd.org Content-Type: multipart/mixed; boundary="------------040405010607020508090307" X-Virus-Scanned: by amavisd-new at mail.smartterra.de Cc: Subject: Broken database/mysqltcl X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Sep 2006 17:37:40 -0000 This is a multi-part message in MIME format. --------------040405010607020508090307 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Dear mysqltcl users, the mysqltcl port is currently broken because a header of the MySQL 5.0.24a client port is faulty. If you use an older version of MySQL then mysqltcl builds without problems. Install it with make -DNO_IGNORE install clean If you use MySQL 5.0.24a then copy the attached patch to /usr/ports/databases/mysqltcl/files and build the port as mentioned above. I don't want to submit the patch because I suppose the error will be corrected in future versions of MySQL. Regards Bjoern --------------040405010607020508090307 Content-Type: text/plain; name="patch-generic-mysqltcl.c-fix" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="patch-generic-mysqltcl.c-fix" --- generic/mysqltcl.c.old Tue Sep 19 17:13:05 2006 +++ generic/mysqltcl.c Tue Sep 19 17:13:18 2006 @@ -53,6 +53,8 @@ enum MysqlHandleType {HT_CONNECTION=1,HT_QUERY=2,HT_STATEMENT=3}; +typedef unsigned long ulong; + typedef struct MysqlTclHandle { MYSQL * connection; /* Connection handle, if connected; NULL otherwise. */ char database[MYSQL_NAME_LEN]; /* Db name, if selected; NULL otherwise. */ --------------040405010607020508090307--