Bug 97565 - [PATCH] mail/dovecot: fix startup problem on 4.x
Summary: [PATCH] mail/dovecot: fix startup problem on 4.x
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Cheng-Lung Sung
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-21 19:00 UTC by Rong-En Fan
Modified: 2006-05-27 23:29 UTC (History)
1 user (show)

See Also:


Attachments
dovecot-1.0.b8_1.patch (2.13 KB, patch)
2006-05-21 19:00 UTC, Rong-En Fan
no flags Details | Diff
dovecot-1.0.b8_1.diff (1.32 KB, patch)
2006-05-23 22:33 UTC, Robin Breathe
no flags Details | Diff
file.dat (15 bytes, text/plain; charset=US-ASCII; format=flowed)
2006-05-23 22:33 UTC, Robin Breathe
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rong-En Fan 2006-05-21 19:00:44 UTC
On 4.x with GCC < 3.2, dovecot refuses to startup and the error is
"Fatal: Protocol imaps given more than once". This is due to we have a
old compiler GCC 2.95. Using GCC >= 3.2 will be fine. The author has
a patch to fix this (not committed into dovecot's cvs yet). For details,
please read the following mailing thread:

http://www.dovecot.org/list/dovecot/2006-May/013389.html

The patch is obtained from the mailing archive (mailman screwed up the
patch, you can grab from dovecot.org's mbox archive). Since this patch
is not committed into dovecot's cvs, I prefer to enable it only if base
has GCC < 3.2.

I'm running dovecot 1.0 beta8 with this patch on a 4.11 box for one day
without any problems.

Added file(s):
- files/extra-c89-fix

Port maintainer (robin@isometry.net) is cc'd.

Generated with FreeBSD Port Tools 0.77
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2006-05-21 19:04:10 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback
Comment 2 Robin Breathe 2006-05-23 22:33:29 UTC
Please commit the attached patch rather than that included above.
It fixes the the C89 alignment issue encountered when compiling with  
gcc-2.95 in addition to the dlerror() problem reported in ports/97671.
The patch is not conditionally applied as it will soon be removed,  
and does no harm in the C99 case.
Comment 3 Cheng-Lung Sung freebsd_committer freebsd_triage 2006-05-27 17:36:48 UTC
Responsible Changed
From-To: freebsd-ports-bugs->clsung

I'll take it.
Comment 4 Cheng-Lung Sung freebsd_committer freebsd_triage 2006-05-27 23:29:15 UTC
State Changed
From-To: feedback->closed

Committed with maintainer's patch. Thank you.