From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Dec 15 00:54:28 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 [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9370616A4D2 for ; Fri, 15 Dec 2006 00:54:28 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 54F0343E3D for ; Fri, 15 Dec 2006 00:49:04 +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 kBF0o4rc051105 for ; Fri, 15 Dec 2006 00:50:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id kBF0o4WX051104; Fri, 15 Dec 2006 00:50:04 GMT (envelope-from gnats) Resent-Date: Fri, 15 Dec 2006 00:50:04 GMT Resent-Message-Id: <200612150050.kBF0o4WX051104@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, trasz Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3066316A412 for ; Fri, 15 Dec 2006 00:43:50 +0000 (UTC) (envelope-from trasz@pin.if.uz.zgora.pl) Received: from pin.if.uz.zgora.pl (pin.if.uz.zgora.pl [212.109.128.251]) by mx1.FreeBSD.org (Postfix) with ESMTP id 003EC44082 for ; Fri, 15 Dec 2006 00:34:06 +0000 (GMT) (envelope-from trasz@pin.if.uz.zgora.pl) Received: by pin.if.uz.zgora.pl (Postfix, from userid 1001) id 2173339DBA; Fri, 15 Dec 2006 01:38:36 +0100 (CET) Message-Id: <20061215003836.2173339DBA@pin.if.uz.zgora.pl> Date: Fri, 15 Dec 2006 01:38:36 +0100 (CET) From: trasz To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/106745: [PATCH] net-im/icb: fix build with gcc41 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: Fri, 15 Dec 2006 00:54:28 -0000 >Number: 106745 >Category: ports >Synopsis: [PATCH] net-im/icb: fix build with gcc41 >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: Fri Dec 15 00:50:03 GMT 2006 >Closed-Date: >Last-Modified: >Originator: trasz >Release: FreeBSD 6.1-RELEASE-p10 i386 >Organization: >Environment: System: FreeBSD pin.if.uz.zgora.pl 6.1-RELEASE-p10 FreeBSD 6.1-RELEASE-p10 #0: Wed Nov 15 19:16:30 CET 2006 >Description: Fix build with gcc41. http://pointyhat.freebsd.org/errorlogs/i386-errorlogs/e.7.2006121307/icb-5.1.0_3.log Added file(s): - files/patch-icb::icb.h Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- icb-5.1.0_3.patch begins here --- diff -ruN --exclude=CVS /usr/ports/net-im/icb/files/patch-icb::icb.h /home/trasz/icb/files/patch-icb::icb.h --- /usr/ports/net-im/icb/files/patch-icb::icb.h Thu Jan 1 01:00:00 1970 +++ /home/trasz/icb/files/patch-icb::icb.h Fri Dec 15 01:38:09 2006 @@ -0,0 +1,34 @@ +--- icb/icb.h.orig Fri Dec 15 01:33:57 2006 ++++ icb/icb.h Fri Dec 15 01:34:21 2006 +@@ -129,15 +129,6 @@ + #endif + + +-/* include function prototypes if ANSI compiler */ +-/* otherwise, include file that shows return type for each function */ +- +-#if defined __STDC__ || defined __GNUC__ +-#include "protos.h" +-#else +-#include "funcs.h" +-#endif +- + #define MAX_HOSTLEN 256 + #define MAX_PASSLEN 256 + +@@ -182,6 +173,15 @@ + ColPERSFROMHILITE, + ColTIMESTAMP + } colorlist; ++ ++/* include function prototypes if ANSI compiler */ ++/* otherwise, include file that shows return type for each function */ ++ ++#if defined __STDC__ || defined __GNUC__ ++#include "protos.h" ++#else ++#include "funcs.h" ++#endif + + + /* Returns an ANSI color sequence for 'primary', or for --- icb-5.1.0_3.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: