From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Oct 2 09:10:02 2007 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E321B16A468 for ; Tue, 2 Oct 2007 09:10:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id C03C713C45B for ; Tue, 2 Oct 2007 09:10:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l929A14I044950 for ; Tue, 2 Oct 2007 09:10:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l929A1vK044949; Tue, 2 Oct 2007 09:10:01 GMT (envelope-from gnats) Resent-Date: Tue, 2 Oct 2007 09:10:01 GMT Resent-Message-Id: <200710020910.l929A1vK044949@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, Martin Wilke Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8229416A417 for ; Tue, 2 Oct 2007 09:02:44 +0000 (UTC) (envelope-from miwi@miwi.homeunix.com) Received: from miwi.homeunix.com (dslb-082-083-155-037.pools.arcor-ip.net [82.83.155.37]) by mx1.freebsd.org (Postfix) with ESMTP id 36F3F13C44B for ; Tue, 2 Oct 2007 09:02:44 +0000 (UTC) (envelope-from miwi@miwi.homeunix.com) Received: by miwi.homeunix.com (Postfix, from userid 1010) id 205BB2E39F; Tue, 2 Oct 2007 11:02:44 +0200 (CEST) Message-Id: <20071002090244.205BB2E39F@miwi.homeunix.com> Date: Tue, 2 Oct 2007 11:02:44 +0200 (CEST) From: Martin Wilke To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: acm@FreeBSD.org Subject: ports/116813: [PATCH] net-im/cli-msn: fix build with gcc4.2 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: Tue, 02 Oct 2007 09:10:02 -0000 >Number: 116813 >Category: ports >Synopsis: [PATCH] net-im/cli-msn: fix build with gcc4.2 >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: Tue Oct 02 09:10:01 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Martin Wilke >Release: FreeBSD 7.0-CURRENT i386 >Organization: >Environment: System: FreeBSD miwi.homeunix.com 7.0-CURRENT FreeBSD 7.0-CURRENT #305: Fri Sep 28 12:07:59 CEST 2007 >Description: Tb: i386 http://head.miwibox.org/tb/index.php?action=describe_port&id=2151 amd64 http://amd64.miwibox.org/tb/index.php?action=describe_port&id=1591 Thanks to beech@ Added file(s): - files/patch-tcp_soc.c Port maintainer (acm@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- cli-msn-2.3_1.patch begins here --- Index: Makefile =================================================================== RCS file: /home/pcvs/ports/net-im/cli-msn/Makefile,v retrieving revision 1.5 diff -u -u -r1.5 Makefile --- Makefile 1 Oct 2007 08:56:42 -0000 1.5 +++ Makefile 1 Oct 2007 21:57:25 -0000 @@ -40,10 +40,4 @@ ${INSTALL_DATA} ${WRKSRC}/msn.conf ${WRKSRC}/curl-ca-bundle.crt ${DATADIR} @${CAT} ${PKGMESSAGE} -.include - -.if ${OSVERSION} >= 700042 -BROKEN= Does not compile with GCC 4.2 -.endif - -.include +.include Index: files/patch-tcp_soc.c =================================================================== RCS file: files/patch-tcp_soc.c diff -N files/patch-tcp_soc.c --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/patch-tcp_soc.c 1 Oct 2007 21:57:25 -0000 @@ -0,0 +1,12 @@ +diff -uN src.orig/tcp_sock.c src/tcp_sock.c +--- src.orig/tcp_sock.c 2006-04-19 12:13:21.000000000 -0800 ++++ src/tcp_sock.c 2007-10-01 13:31:39.000000000 -0800 +@@ -153,7 +153,6 @@ + void tcp_sockdcon(int sock_num) + { + close((int) tcp_sock[sock_num]); +- (int) tcp_sock[sock_num] = 0; + } + + /* Read Data Function (Data IN)*/ +Common subdirectories: src.orig/windows and src/windows --- cli-msn-2.3_1.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: