From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Jul 3 14:20:03 2008 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 E3A1F106566C for ; Thu, 3 Jul 2008 14:20:03 +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 BF1C68FC16 for ; Thu, 3 Jul 2008 14:20:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m63EK3Uc020517 for ; Thu, 3 Jul 2008 14:20:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m63EK34r020516; Thu, 3 Jul 2008 14:20:03 GMT (envelope-from gnats) Resent-Date: Thu, 3 Jul 2008 14:20:03 GMT Resent-Message-Id: <200807031420.m63EK34r020516@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, Alex Miller Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D9F68106566C for ; Thu, 3 Jul 2008 14:12:46 +0000 (UTC) (envelope-from root@asa.org.ua) Received: from piggy.asa.org.ua (asa.org.ua [213.130.25.69]) by mx1.freebsd.org (Postfix) with ESMTP id 906B78FC1F for ; Thu, 3 Jul 2008 14:12:46 +0000 (UTC) (envelope-from root@asa.org.ua) Received: from root by piggy.asa.org.ua with local id 1KEPLn-000CHI-0r for FreeBSD-gnats-submit@freebsd.org; Thu, 03 Jul 2008 16:59:55 +0300 Message-Id: Date: Thu, 03 Jul 2008 16:59:55 +0300 From: Alex Miller To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/125220: [maintainer update] Fix "does not compile with gcc 4.2" problem 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: Thu, 03 Jul 2008 14:20:04 -0000 >Number: 125220 >Category: ports >Synopsis: [maintainer update] Fix "does not compile with gcc 4.2" problem >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: Thu Jul 03 14:20:02 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Alex Miller >Release: FreeBSD 7.0-RELEASE i386 >Organization: Home Sweet Home, Inc. >Environment: System: FreeBSD 7.0-RELEASE i386 >Description: Does not compile with gcc 4.2 >How-To-Repeat: Try to compile on 7.xx >Fix: diff -urN frickin.orig/Makefile frickin/Makefile --- frickin.orig/Makefile 2007-12-22 03:23:34.000000000 +0300 +++ frickin/Makefile 2008-07-03 16:43:00.000000000 +0400 @@ -6,6 +6,7 @@ # PORTNAME= frickin +PORTREVISION?= 1 DISTVERSION= 2.0BETA2 CATEGORIES= net MASTER_SITES= SF @@ -43,8 +44,4 @@ IGNORE= does not compile with old version of pf .endif -.if ${OSVERSION} >= 700042 -BROKEN= does not compile with gcc 4.2 -.endif - .include diff -urN frickin.orig/files/patch-session.cpp frickin/files/patch-session.cpp --- frickin.orig/files/patch-session.cpp 1970-01-01 03:00:00.000000000 +0300 +++ frickin/files/patch-session.cpp 2008-07-03 16:34:00.000000000 +0400 @@ -0,0 +1,11 @@ +--- src/session.cpp.orig 2007-01-13 19:28:47.000000000 +0200 ++++ src/session.cpp 2008-07-03 16:33:51.000000000 +0300 +@@ -130,7 +130,7 @@ + + Session* Session::detatch(Client* a_Client) + { +- list::iterator clientIter = NULL; ++ list::iterator clientIter = (std::_List_iterator)NULL; + + assert(a_Client); + clientIter = find(m_ClientList.begin(), m_ClientList.end(), a_Client); >Release-Note: >Audit-Trail: >Unformatted: