From owner-freebsd-ports-bugs@FreeBSD.ORG Wed May 31 14:30:15 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 94E4116B2F6 for ; Wed, 31 May 2006 14:30:15 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id E4C8F43D55 for ; Wed, 31 May 2006 14:30:14 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k4VEUEcj049757 for ; Wed, 31 May 2006 14:30:14 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k4VEUEk6049756; Wed, 31 May 2006 14:30:14 GMT (envelope-from gnats) Resent-Date: Wed, 31 May 2006 14:30:14 GMT Resent-Message-Id: <200605311430.k4VEUEk6049756@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Tod McQuillin 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 ) id 1FlRdH-000J0L-BM; Wed, 31 May 2006 23:25:11 +0900 Message-Id: Date: Wed, 31 May 2006 23:25:11 +0900 From: Tod McQuillin To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: oliver@FreeBSD.org Subject: ports/98217: [PATCH] mail/courier-imap: [Fix build on FreeBSD 4.x] X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 May 2006 14:30:22 -0000 >Number: 98217 >Category: ports >Synopsis: [PATCH] mail/courier-imap: [Fix build on FreeBSD 4.x] >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed May 31 14:30:14 GMT 2006 >Closed-Date: >Last-Modified: >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: >Unformatted: