Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Jul 2008 09:53:51 GMT
From:      Alexey Illarionov <littlesavage@orionet.ru>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/125558: [patch] x11toolkits/fox12 fix build on 7.0
Message-ID:  <200807130953.m6D9rpag012291@www.freebsd.org>
Resent-Message-ID: <200807131000.m6DA07X1042108@freefall.freebsd.org>

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

>Number:         125558
>Category:       ports
>Synopsis:       [patch] x11toolkits/fox12 fix build on 7.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jul 13 10:00:06 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Alexey Illarionov
>Release:        7.0-STABLE
>Organization:
>Environment:
>Description:
x11toolkits/fox12 does not compile on 7.0 with gcc4.2. This problem may be fixed by adding '-ffriend-injection' to CPPFLAGS.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

--- Makefile.orig	2008-07-13 13:42:51.000000000 +0400
+++ Makefile	2008-07-13 13:44:15.000000000 +0400
@@ -7,7 +7,7 @@
 
 PORTNAME=	fox
 PORTVERSION=	${MAJORVER}.${SHVER}
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	x11-toolkits
 MASTER_SITES=	http://www.fox-toolkit.org/ftp/ \
 		ftp://ftp.fox-toolkit.org/pub/ \
@@ -53,7 +53,7 @@
 .include <bsd.port.pre.mk>
 
 .if ${OSVERSION} >= 700042
-BROKEN=		Does not compile with GCC 4.2
+CPPFLAGS+=	-ffriend-injection
 .endif
 
 ##


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200807130953.m6D9rpag012291>