Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 May 2006 21:40:19 GMT
From:      Robin Breathe <robin@isometry.net>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/97565: [PATCH] mail/dovecot: fix startup problem on 4.x
Message-ID:  <200605232140.k4NLeJYG082976@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/97565; it has been noted by GNATS.

From: Robin Breathe <robin@isometry.net>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/97565: [PATCH] mail/dovecot: fix startup problem on 4.x
Date: Tue, 23 May 2006 22:33:29 +0100

 --Apple-Mail-1-461601649
 Content-Transfer-Encoding: 7bit
 Content-Type: text/plain;
 	charset=US-ASCII;
 	delsp=yes;
 	format=flowed
 
 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.
 
 
 --Apple-Mail-1-461601649
 Content-Transfer-Encoding: 7bit
 Content-Type: application/octet-stream;
 	x-unix-mode=0755;
 	name="dovecot-1.0.b8_1.diff"
 Content-Disposition: attachment;
 	filename=dovecot-1.0.b8_1.diff
 
 diff -ruN dovecot-1.0.b8/Makefile dovecot/Makefile
 --- dovecot-1.0.b8/Makefile	Tue May 23 20:58:53 2006
 +++ dovecot/Makefile	Tue May 23 21:00:58 2006
 @@ -8,6 +8,7 @@
  
  PORTNAME=	dovecot
  DISTVERSION=	1.0.beta8
 +PORTREVISION=	1
  CATEGORIES=	mail ipv6
  MASTER_SITES=	http://www.dovecot.org/releases/
  
 diff -ruN dovecot-1.0.b8/files/patch-master-settings.c dovecot/files/patch-master-settings.c
 --- dovecot-1.0.b8/files/patch-master-settings.c	Thu Jan  1 00:00:00 1970
 +++ dovecot/files/patch-master-settings.c	Tue May 23 21:06:05 2006
 @@ -0,0 +1,10 @@
 +--- src/master/master-settings.c.orig	Tue Apr 25 02:00:07 2006
 ++++ src/master/master-settings.c	Tue May 23 21:05:20 2006
 +@@ -367,6 +367,7 @@
 + 
 + 	/* .. */
 + 	MEMBER(login_uid) 0,
 ++	MEMBER(imap_generated_capability) NULL,
 + 	MEMBER(listen_fd) -1,
 + 	MEMBER(ssl_listen_fd) -1
 + };
 diff -ruN dovecot-1.0.b8/files/patch-module-dir.c dovecot/files/patch-module-dir.c
 --- dovecot-1.0.b8/files/patch-module-dir.c	Thu Jan  1 00:00:00 1970
 +++ dovecot/files/patch-module-dir.c	Tue May 23 21:18:49 2006
 @@ -0,0 +1,12 @@
 +--- src/lib/module-dir.c.orig	Sat May  6 02:00:05 2006
 ++++ src/lib/module-dir.c	Tue May 23 21:16:17 2006
 +@@ -24,6 +24,9 @@
 + 	const char *error;
 + 	void *ret;
 + 
 ++	/* reset dlerror */
 ++	(void)dlerror();
 ++
 + 	/* get our init func */
 + 	ret = dlsym(module->handle, symbol);
 + 
 
 --Apple-Mail-1-461601649
 Content-Transfer-Encoding: 7bit
 Content-Type: text/plain;
 	charset=US-ASCII;
 	format=flowed
 
 
 Regards,
 Robin
 --Apple-Mail-1-461601649--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200605232140.k4NLeJYG082976>