From owner-freebsd-ports-bugs@freebsd.org Wed Apr 13 16:18:03 2016 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 6C399B0FE40 for ; Wed, 13 Apr 2016 16:18:03 +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 43FDD1287 for ; Wed, 13 Apr 2016 16:18:03 +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 u3DGI31i096758 for ; Wed, 13 Apr 2016 16:18:03 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 208754] games/assaultcube: Fix build with libc++ 3.8.0 Date: Wed, 13 Apr 2016 16:18:03 +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: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback+ X-Bugzilla-Changed-Fields: 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.21 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Apr 2016 16:18:03 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D208754 --- Comment #4 from commit-hook@freebsd.org --- A commit references this bug: Author: jbeich Date: Wed Apr 13 16:17:48 UTC 2016 New revision: 413214 URL: https://svnweb.freebsd.org/changeset/ports/413214 Log: games/assaultcube: unbreak build with newer C++ library - Add upstream fixes for clang/libc++ 3.8 and gcc/libstdc++ 6.0 - Remove merged files/patch-source_src_bot_bot_waypoint.cpp file - Bump PORTREVISION In file included from crypto.cpp:1: In file included from ./cube.h:8: ./tools.h:58:21: error: static declaration of 'round' follows non-static declaration static inline float round(float x) { return floor(x + 0.5f); } ^ /usr/include/c++/v1/math.h:1364:46: note: previous definition is here inline _LIBCPP_INLINE_VISIBILITY float round(float __lcpp_x) _NOEXC= EPT {return roundf(__lcpp_x);} ^ In file included from cube.h:8:0, from crypto.cpp:1: tools.h: In function 'float round(float)': tools.h:58:34: error: 'float round(float)' conflicts with a previous declaration static inline float round(float x) { return floor(x + 0.5f); } ^ In file included from /usr/local/lib/gcc6/include/c++/math.h:36:0, from platform.h:9, from cube.h:7, from crypto.cpp:1: /usr/local/lib/gcc6/include/c++/cmath:1708:3: note: previous declaration 'constexpr float std::round(float)' round(float __x) ^~~~~ PR: 208754 Reported by: dim (libc++), lightside (libstdc++) Submitted by: lightside (maintainer) Changes: head/games/assaultcube/Makefile head/games/assaultcube/files/patch-fixes-for-GCC-and-Clang.diff head/games/assaultcube/files/patch-source_src_bot_bot_waypoint.cpp --=20 You are receiving this mail because: You are the assignee for the bug.=