From owner-freebsd-ports-bugs@freebsd.org Fri Jul 28 12:05:32 2017 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 62F67DC4D55 for ; Fri, 28 Jul 2017 12:05:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5002A83119 for ; Fri, 28 Jul 2017 12:05:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v6SC5VmN061776 for ; Fri, 28 Jul 2017 12:05:32 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 219484] cad/openvsp: Fails to build with lang/gcc6 or later on 10.3 (< 11.0) Date: Fri, 28 Jul 2017 12:05:32 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-patch, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: rakuco@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback+ maintainer-feedback? merge-quarterly? X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Jul 2017 12:05:32 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D219484 Raphael Kubo da Costa changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rakuco@FreeBSD.org --- Comment #17 from Raphael Kubo da Costa --- (In reply to fernando.apesteguia from comment #16) >> Is this patch acceptable? > > .if ${OSVERSION} < 1100000 Note that you generally want to choose a more specific version that corresp= onds more closely to the commit that imported the libc++ version with the new overloads. In any case, I think you can simplify the patch by just setting USE_CXXSTD=3Dgnu++11 -- GCC 6 builds with -std=3Dgnu++14 by default, and th= e new overloads were added in C++14. Since you only need C++11 to build the code = you can use an older standard. I've done that here and the port built fine on 10.3-i386 with GCC 6. --=20 You are receiving this mail because: You are the assignee for the bug.=