ports/125558: [patch] x11toolkits/fox12 fix build on 7.0

Alexey Illarionov littlesavage at orionet.ru
Sun Jul 13 10:00:11 UTC 2008


>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:



More information about the freebsd-ports-bugs mailing list