From owner-freebsd-ports-bugs@FreeBSD.ORG Sat May 8 07:00:42 2004 Return-Path: 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 5B96616A4D0 for ; Sat, 8 May 2004 07:00:42 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3008C43D64 for ; Sat, 8 May 2004 07:00:33 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i48E0UIF060136 for ; Sat, 8 May 2004 07:00:30 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i48E0UGU060135; Sat, 8 May 2004 07:00:30 -0700 (PDT) (envelope-from gnats) Resent-Date: Sat, 8 May 2004 07:00:30 -0700 (PDT) Resent-Message-Id: <200405081400.i48E0UGU060135@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, Mark Daniel Reidel Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AFD8C16A4CE for ; Sat, 8 May 2004 06:53:52 -0700 (PDT) Received: from karm.dyndns.org (213-182-119-232.teleos-web.de [213.182.119.232]) by mx1.FreeBSD.org (Postfix) with SMTP id 41C1543D46 for ; Sat, 8 May 2004 06:53:51 -0700 (PDT) (envelope-from root@karm.dyndns.org) Received: (qmail 43539 invoked by uid 0); 8 May 2004 13:53:50 -0000 Message-Id: <20040508135350.43538.qmail@karm.dyndns.org> Date: 8 May 2004 13:53:50 -0000 From: Mark Daniel Reidel To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/66388: [MAINTAINER] games/crossfire-client: Fix build on gcc295 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 May 2004 14:00:42 -0000 X-List-Received-Date: Sat, 08 May 2004 14:00:42 -0000 >Number: 66388 >Category: ports >Synopsis: [MAINTAINER] games/crossfire-client: Fix build on gcc295 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sat May 08 07:00:30 PDT 2004 >Closed-Date: >Last-Modified: >Originator: Mark Daniel Reidel >Release: FreeBSD 5.2-CURRENT i386 >Organization: >Environment: System: FreeBSD alu.reidel.info 5.2-CURRENT FreeBSD 5.2-CURRENT #10: Fri Mar 5 17:22:58 CET >Description: - Fixes build on gcc295 >How-To-Repeat: >Fix: --- crossfire-client-1.7.0.patch begins here --- diff -ruN --exclude=CVS /tmp/portbk/games/crossfire-client/files/patch-common-misc.c::gcc295 /usr/ports/games/crossfire-client/files/patch-common-misc.c::gcc295 --- /tmp/portbk/games/crossfire-client/files/patch-common-misc.c::gcc295 Thu Jan 1 01:00:00 1970 +++ /usr/ports/games/crossfire-client/files/patch-common-misc.c::gcc295 Sat May 8 15:32:54 2004 @@ -0,0 +1,17 @@ +--- common/misc.c.orig Sat May 8 15:31:29 2004 ++++ common/misc.c Sat May 8 15:31:49 2004 +@@ -237,13 +237,13 @@ + #ifndef WIN32 + ChildProcess* cp=FirstChild; + ChildProcess* last=NULL; ++ ChildProcess* next; + for (;;){ + if (!cp) + return; /*no child to monitor*/ + if (waitpid(cp->pid,NULL,WNOHANG)){ + /*pid is dead*/ + LOG(LOG_INFO,"common::monitorChilds","Child %s died. Removing and closing pipes",cp->name?cp->name:"UNKNOWN"); +- ChildProcess* next; + if (cp==LastChild) + LastChild=last; + next=cp->next; --- crossfire-client-1.7.0.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: