From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Sep 26 17:30:01 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id A75EB159 for ; Thu, 26 Sep 2013 17:30:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 866D12BEF for ; Thu, 26 Sep 2013 17:30:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r8QHU0cb095335 for ; Thu, 26 Sep 2013 17:30:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r8QHU0Nb095334; Thu, 26 Sep 2013 17:30:00 GMT (envelope-from gnats) Resent-Date: Thu, 26 Sep 2013 17:30:00 GMT Resent-Message-Id: <201309261730.r8QHU0Nb095334@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, Dmitry Marakasov Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id BB7C6B67; Thu, 26 Sep 2013 17:20:56 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from smtp.timeweb.ru (smtp.timeweb.ru [92.53.117.39]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 784D62B59; Thu, 26 Sep 2013 17:20:56 +0000 (UTC) Received: from [213.148.20.85] (helo=hive.panopticon) by smtp.timeweb.ru with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.76) (envelope-from ) id 1VPFFA-000639-3v; Thu, 26 Sep 2013 21:20:48 +0400 Received: from hades.panopticon (hades.panopticon [192.168.0.32]) by hive.panopticon (Postfix) with ESMTP id 9BB0CB33; Thu, 26 Sep 2013 21:20:47 +0400 (MSK) Received: by hades.panopticon (Postfix, from userid 1000) id 8C9E7F1; Thu, 26 Sep 2013 21:20:47 +0400 (MSK) Message-Id: <20130926172047.8C9E7F1@hades.panopticon> Date: Thu, 26 Sep 2013 21:20:47 +0400 (MSK) From: Dmitry Marakasov To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/182417: [PATCH] devel/simgear: fix build with clang Cc: martymac@FreeBSD.org X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Sep 2013 17:30:01 -0000 >Number: 182417 >Category: ports >Synopsis: [PATCH] devel/simgear: fix build with clang >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Sep 26 17:30:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Dmitry Marakasov >Release: FreeBSD 9.1-RELEASE-p4 amd64 >Organization: >Environment: System: FreeBSD hades.panopticon 9.1-RELEASE-p4 FreeBSD 9.1-RELEASE-p4 #0 r251956: Tue Jun 18 21:41:37 MSK >Description: - Support staging - Fix build with clang - Remove unneeded USE_GCC Port maintainer (martymac@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.99_8 (mode: change, diff: SVN) >How-To-Repeat: >Fix: --- simgear-2.10.0.patch begins here --- Index: Makefile =================================================================== --- Makefile (revision 328395) +++ Makefile (working copy) @@ -20,7 +20,6 @@ osg:${PORTSDIR}/graphics/osg USE_BZIP2= yes -USE_GCC= any USE_XORG= ice sm x11 xext xi xt xmu USE_OPENAL= al alut USE_GL= gl glu glut @@ -27,5 +26,4 @@ USES= cmake CMAKE_ARGS+= -DJPEG_FACTORY:BOOL=ON -NO_STAGE= yes .include Index: files/patch-simgear-misc-gzcontainerfile.cxx =================================================================== --- files/patch-simgear-misc-gzcontainerfile.cxx (revision 0) +++ files/patch-simgear-misc-gzcontainerfile.cxx (working copy) @@ -0,0 +1,10 @@ +--- simgear/misc/gzcontainerfile.cxx.orig 2013-01-28 21:02:28.000000000 +0400 ++++ simgear/misc/gzcontainerfile.cxx 2013-09-24 21:12:52.827520277 +0400 +@@ -49,6 +49,7 @@ + #include + + #include ++#include + + using namespace std; + using namespace simgear; Property changes on: files/patch-simgear-misc-gzcontainerfile.cxx ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: files/patch-simgear-scene-sky-cloud.cxx =================================================================== --- files/patch-simgear-scene-sky-cloud.cxx (revision 0) +++ files/patch-simgear-scene-sky-cloud.cxx (working copy) @@ -0,0 +1,11 @@ +--- simgear/scene/sky/cloud.cxx.orig 2013-01-28 21:02:28.000000000 +0400 ++++ simgear/scene/sky/cloud.cxx 2013-09-24 22:18:51.438519302 +0400 +@@ -736,7 +736,7 @@ + // this happens, lets just use the last known good course. + // This is a hack, and it would probably be better to make + // calc_gc_course_dist() more robust. +- if ( isnan(course) ) { ++ if ( std::isnan(course) ) { + course = last_course; + } else { + last_course = course; Property changes on: files/patch-simgear-scene-sky-cloud.cxx ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Index: files/patch-simgear-sound-sample__group.cxx =================================================================== --- files/patch-simgear-sound-sample__group.cxx (revision 0) +++ files/patch-simgear-sound-sample__group.cxx (working copy) @@ -0,0 +1,11 @@ +--- simgear/sound/sample_group.cxx.orig 2013-02-18 18:58:14.000000000 +0400 ++++ simgear/sound/sample_group.cxx 2013-09-24 22:31:16.203519057 +0400 +@@ -36,7 +36,7 @@ + using std::string; + + bool isNaN(float *v) { +- return (isnan(v[0]) || isnan(v[1]) || isnan(v[2])); ++ return (std::isnan(v[0]) || std::isnan(v[1]) || std::isnan(v[2])); + } + + SGSampleGroup::SGSampleGroup () : Property changes on: files/patch-simgear-sound-sample__group.cxx ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property --- simgear-2.10.0.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: