Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Nov 2012 07:52:05 -0500 (EST)
From:      Steve Wills <swills@freebsd.org>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        gecko@freebsd.org
Subject:   [PATCH] www/libxul: fix build on recent current
Message-ID:  <201211171252.qAHCq5gp043288@meatwad.mouf.net>

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

>Submitter-Id:	current-users
>Originator:	Steve Wills
>Organization:	
>Confidential:	no 
>Synopsis:	[PATCH] www/libxul: fix build on recent current
>Severity:	non-critical
>Priority:	low
>Category:	ports 
>Class:		change-request
>Release:	FreeBSD 10.0-CURRENT amd64
>Environment:
System: FreeBSD meatwad.mouf.net 10.0-CURRENT FreeBSD 10.0-CURRENT #12 r242847M: Sun Nov 11 22:13:25 EST
>Description:
- Fix build after CLANG_IS_CC

Port maintainer (gecko@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99_6 (mode: change, diff: SVN)
>How-To-Repeat:
>Fix:

--- libxul-10.0.10.patch begins here ---
Index: Makefile
===================================================================
--- Makefile	(revision 307507)
+++ Makefile	(working copy)
@@ -69,7 +69,7 @@
 .endif
 .endif
 
-.if !empty(CXX:M*clang++*)
+.if !empty(CXX:M*clang++*) || ${OSVERSION} >= 1000024
 CXXFLAGS+=	-Wno-return-type-c-linkage
 .endif
 
--- libxul-10.0.10.patch ends here ---




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