Date: Sun, 24 Sep 2006 19:37:31 +0200 From: =?ISO-8859-15?Q?Bj=F6rn_K=F6nig?= <bkoenig@cs.tu-berlin.de> To: ports@freebsd.org Subject: Broken database/mysqltcl Message-ID: <4516C25B.1020109@cs.tu-berlin.de>
next in thread | raw e-mail | index | archive | help
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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4516C25B.1020109>