ports/66388: [MAINTAINER] games/crossfire-client: Fix build on gcc295
Mark Daniel Reidel
ports at mark.reidel.info
Sat May 8 14:00:42 UTC 2004
>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:
More information about the freebsd-ports-bugs
mailing list