ports/103691: [patch] ulong not declared in driver-mysql.c while compiling mail/dovecot (1.0.r7_1)
corwin at aeternal.net
corwin at aeternal.net
Tue Sep 26 19:40:29 UTC 2006
>Number: 103691
>Category: ports
>Synopsis: [patch] ulong not declared in driver-mysql.c while compiling mail/dovecot (1.0.r7_1)
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Tue Sep 26 19:40:17 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Martin Hudec
>Release: FreeBSD 6.1-RELEASE-p7 i386
>Organization:
>Environment:
System: FreeBSD amber.aeternal.net 6.1-RELEASE-p7 FreeBSD 6.1-RELEASE-p7 #1: Sun Sep 24 14:25:38 CEST 2006 corwin at amber.aeternal.net:/usr/obj/usr/src/sys/AMBER i386
>Description:
While trying to compile actual port of mail/dovecot (as of Sep 26th 2006 it is version 1.0.r7_1) with MySQL support enabled I have encountered error in driver-mysql.c stating errors in driver-mysql.c regarding ulong not defined.
>How-To-Repeat:
Always while trying to compile mail/dovecot with MySQL support enabled.
>Fix:
Please see attached patch (driver-mysql.c.diff). After fixing, dovecot is good to be compiled and installed.
--- driver-mysql.c.diff begins here ---
--- /usr/ports/mail/dovecot/work/dovecot-1.0.rc7/src/lib-sql/driver-mysql.c.orig Tue Sep 26 21:05:32 2006
+++ /usr/ports/mail/dovecot/work/dovecot-1.0.rc7/src/lib-sql/driver-mysql.c Tue Sep 26 21:06:57 2006
@@ -231,6 +231,7 @@
#ifdef CLIENT_MULTI_STATEMENTS
/* Updates require this because everything is committed in one large
SQL statement. */
+ typedef unsigned long ulong;
db->client_flags |= CLIENT_MULTI_STATEMENTS;
#endif
--- driver-mysql.c.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list