From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Oct 6 12:10:21 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 5B33016A40F for ; Fri, 6 Oct 2006 12:10:21 +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 E042043D55 for ; Fri, 6 Oct 2006 12:10:19 +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 k96CAJ6T098376 for ; Fri, 6 Oct 2006 12:10:19 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k96CAJmj098371; Fri, 6 Oct 2006 12:10:19 GMT (envelope-from gnats) Resent-Date: Fri, 6 Oct 2006 12:10:19 GMT Resent-Message-Id: <200610061210.k96CAJmj098371@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 [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 81FA816A53C for ; Fri, 6 Oct 2006 12:00:52 +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 28EDB43D45 for ; Fri, 6 Oct 2006 12:00:50 +0000 (GMT) (envelope-from trasz@pin.if.uz.zgora.pl) Received: by pin.if.uz.zgora.pl (Postfix, from userid 1001) id 9B31139DB8; Fri, 6 Oct 2006 14:01:00 +0200 (CEST) Message-Id: <20061006120100.9B31139DB8@pin.if.uz.zgora.pl> Date: Fri, 6 Oct 2006 14:01:00 +0200 (CEST) From: trasz To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/104054: [PATCH] games/xevil: 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, 06 Oct 2006 12:10:21 -0000 >Number: 104054 >Category: ports >Synopsis: [PATCH] games/xevil: 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 Oct 06 12:10:19 GMT 2006 >Closed-Date: >Last-Modified: >Originator: trasz >Release: FreeBSD 6.1-RELEASE i386 >Organization: >Environment: System: FreeBSD pin.if.uz.zgora.pl 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sat Jun 3 01:12:10 CEST >Description: Fix build with gcc41. (http://pointyhat.freebsd.org/errorlogs/i386-errorlogs/e.7.2006100419/xevil-2.02.r2.log) Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- xevil-2.02.r2.patch begins here --- diff -ruN --exclude=CVS /usr/ports/games/xevil/Makefile /home/trasz/xevil/Makefile --- /usr/ports/games/xevil/Makefile Mon Nov 17 13:28:57 2003 +++ /home/trasz/xevil/Makefile Fri Oct 6 13:53:54 2006 @@ -32,7 +32,7 @@ @${MKDIR} ${WRKDIR}/${DISTNAME} do-extract: - @unzip -aqo ${DISTDIR}/${DISTFILES} -d ${WRKSRC} + @${UNZIP_CMD} -aqo ${DISTDIR}/${DISTFILES} -d ${WRKSRC} do-install: ${INSTALL_PROGRAM} ${WRKSRC}/x11/FREEBSD/xevil ${PREFIX}/bin/xevil diff -ruN --exclude=CVS /usr/ports/games/xevil/files/patch-cmn::locator.h /home/trasz/xevil/files/patch-cmn::locator.h --- /usr/ports/games/xevil/files/patch-cmn::locator.h Mon Nov 3 19:59:15 2003 +++ /home/trasz/xevil/files/patch-cmn::locator.h Fri Oct 6 13:53:52 2006 @@ -1,5 +1,5 @@ ---- cmn/locator.h.dist Sat Mar 22 20:35:30 2003 -+++ cmn/locator.h Sat Oct 25 21:42:46 2003 +--- cmn/locator.h.orig Sat Mar 22 20:35:30 2003 ++++ cmn/locator.h Fri Oct 6 13:44:36 2006 @@ -47,7 +47,8 @@ @@ -10,3 +10,18 @@ #include "utils.h" #include "coord.h" +@@ -108,12 +109,12 @@ + + + // Only valid if mapped || flash. +- OLgridEntry *gridEntry; ++ class OLgridEntry *gridEntry; + // Set by OLgridEntry::insert. Not nec. valid. + GLoc gloc; + #if X11 + // Only valid if mapped || flash. +- OLshadowEntry *shadowEntry; ++ class OLshadowEntry *shadowEntry; + // Set by OLshadowEntry::insert. Not nec. valid. + GLoc shadowGloc; + #endif diff -ruN --exclude=CVS /usr/ports/games/xevil/files/patch-cmn::utils.cpp /home/trasz/xevil/files/patch-cmn::utils.cpp --- /usr/ports/games/xevil/files/patch-cmn::utils.cpp Mon Nov 3 19:59:15 2003 +++ /home/trasz/xevil/files/patch-cmn::utils.cpp Fri Oct 6 13:53:52 2006 @@ -1,5 +1,5 @@ --- cmn/utils.cpp.orig Wed Mar 19 10:05:12 2003 -+++ cmn/utils.cpp Sat Oct 25 21:45:15 2003 ++++ cmn/utils.cpp Fri Oct 6 13:45:47 2006 @@ -30,16 +30,17 @@ // Include Files @@ -24,3 +24,12 @@ #endif #ifdef WIN32 +@@ -761,7 +762,7 @@ + + + private: +- Bucket* HashTable::_get(int &index,void* key); ++ Bucket* _get(int &index,void* key); + /* MODIFIES: index */ + /* EFFECTS: Internal helper function. Return the Bucket containing key + or NULL if not found. Set index to the bucket list for key whether --- xevil-2.02.r2.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: