Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 03 Jul 2008 16:59:55 +0300
From:      Alex Miller <asm@asm.kiev.ua>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/125220: [maintainer update] Fix "does not compile with gcc 4.2" problem
Message-ID:  <E1KEPLn-000CHI-0r@piggy.asa.org.ua>
Resent-Message-ID: <200807031420.m63EK34r020516@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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 <bsd.port.post.mk>
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<Client*>::iterator clientIter = NULL;
++    list<Client*>::iterator clientIter = (std::_List_iterator<Client*>)NULL;
+ 
+     assert(a_Client);
+     clientIter = find(m_ClientList.begin(), m_ClientList.end(), a_Client);
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1KEPLn-000CHI-0r>