From root@distalzou.net  Wed May 31 14:25:15 2006
Return-Path: <root@distalzou.net>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 1025F16B1E6;
	Wed, 31 May 2006 14:25:15 +0000 (UTC)
	(envelope-from root@distalzou.net)
Received: from mail.distalzou.net (203.141.139.231.user.ad.il24.net [203.141.139.231])
	by mx1.FreeBSD.org (Postfix) with ESMTP id E66AA43D77;
	Wed, 31 May 2006 14:25:13 +0000 (GMT)
	(envelope-from root@distalzou.net)
Received: from root by mail.distalzou.net with local (Exim 4.62 (FreeBSD))
	(envelope-from <root@distalzou.net>)
	id 1FlRdH-000J0L-BM; Wed, 31 May 2006 23:25:11 +0900
Message-Id: <E1FlRdH-000J0L-BM@mail.distalzou.net>
Date: Wed, 31 May 2006 23:25:11 +0900
From: Tod McQuillin <devin@spamcop.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc: oliver@FreeBSD.org
Subject: [PATCH] mail/courier-imap: [Fix build on FreeBSD 4.x]
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         98217
>Category:       ports
>Synopsis:       [PATCH] mail/courier-imap: [Fix build on FreeBSD 4.x]
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    oliver
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 31 14:30:14 GMT 2006
>Closed-Date:    Wed May 31 14:44:52 GMT 2006
>Last-Modified:  Wed May 31 14:44:52 GMT 2006
>Originator:     Tod McQuillin
>Release:        FreeBSD 4.11-STABLE i386
>Organization:
>Environment:
System: FreeBSD plexi.pun-pun.prv 4.11-STABLE FreeBSD 4.11-STABLE #0: Thu Mar 23 21:52:12 JST 2006
>Description:
gcc 2.95 is not happy about the C99ism of declaring variables
in the middle of a block.  This patch moves the variable declaration
to the beginning to allow compilation on gcc 2.95.

Added file(s):
- files/patch-rfc2045_rfc2045reply.c

Port maintainer (oliver@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- courier-imap-4.1.1,1.patch begins here ---
Index: files/patch-rfc2045_rfc2045reply.c
===================================================================
RCS file: files/patch-rfc2045_rfc2045reply.c
diff -N files/patch-rfc2045_rfc2045reply.c
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ files/patch-rfc2045_rfc2045reply.c	31 May 2006 01:08:54 -0000
@@ -0,0 +1,22 @@
+--- rfc2045/rfc2045reply.c~	Thu May 25 08:48:48 2006
++++ rfc2045/rfc2045reply.c	Wed May 31 10:08:03 2006
+@@ -591,7 +591,9 @@
+ 	off_t	start_pos, end_pos, start_body, dummy;
+ 	int errflag=0;
+ 	struct rfc2045headerinfo *hi;
+-
++#if	HAVE_UNICODE
++	const struct unicode_info *uiptr=NULL;
++#endif
+ 	oldtocc=0;
+ 	oldtolist=0;
+ 	oldfrom=0;
+@@ -601,8 +603,6 @@
+ 	oldreferences=0;
+ 	whowrote=0;
+ #if	HAVE_UNICODE
+-	const struct unicode_info *uiptr=NULL;
+-
+ 	if (ri->charset && *(ri->charset))
+ 		uiptr = unicode_find(ri->charset);
+ #endif
--- courier-imap-4.1.1,1.patch ends here ---

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->oliver 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Wed May 31 14:32:30 UTC 2006 
Responsible-Changed-Why:  
Over to maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=98217 
State-Changed-From-To: open->closed 
State-Changed-By: oliver 
State-Changed-When: Wed May 31 14:44:36 UTC 2006 
State-Changed-Why:  
committed, thanks 


http://www.freebsd.org/cgi/query-pr.cgi?pr=98217 
>Unformatted:
