From owner-svn-ports-head@freebsd.org Sat Jul 23 13:41:27 2016 Return-Path: Delivered-To: svn-ports-head@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 3CEAEBA2740; Sat, 23 Jul 2016 13:41:27 +0000 (UTC) (envelope-from riggs@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (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 0F6EB156C; Sat, 23 Jul 2016 13:41:26 +0000 (UTC) (envelope-from riggs@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u6NDfQ1N055705; Sat, 23 Jul 2016 13:41:26 GMT (envelope-from riggs@FreeBSD.org) Received: (from riggs@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u6NDfQiJ055704; Sat, 23 Jul 2016 13:41:26 GMT (envelope-from riggs@FreeBSD.org) Message-Id: <201607231341.u6NDfQiJ055704@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: riggs set sender to riggs@FreeBSD.org using -f From: Thomas Zander Date: Sat, 23 Jul 2016 13:41:26 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r418965 - head/devel/upp/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jul 2016 13:41:27 -0000 Author: riggs Date: Sat Jul 23 13:41:26 2016 New Revision: 418965 URL: https://svnweb.freebsd.org/changeset/ports/418965 Log: Fix build with libc++ 3.8.0 PR: 209549 Submitted by: dim Approved by: maintainer timeout MFH: 2016Q3 (ports-secteam build fix blanket) Added: head/devel/upp/files/ head/devel/upp/files/patch-uppsrc_Core_Core.h (contents, props changed) Added: head/devel/upp/files/patch-uppsrc_Core_Core.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/upp/files/patch-uppsrc_Core_Core.h Sat Jul 23 13:41:26 2016 (r418965) @@ -0,0 +1,18 @@ +--- uppsrc/Core/Core.h.orig 2015-11-29 14:17:07 UTC ++++ uppsrc/Core/Core.h +@@ -342,12 +342,12 @@ static const MemDiagCls sMemDiagHelper__ + + //some global definitions + +-#if !defined(STLPORT) && _MSC_VER < 1600 ++#if !defined(STLPORT) && _MSC_VER < 1600 && !defined(_LIBCPP_VERSION) + inline UPP::int64 abs(UPP::int64 x) { return x < 0 ? -x : x; } + #endif + +-#ifdef COMPILER_GCC +-inline double abs(double x) { return fabs(x); } ++#if defined(COMPILER_GCC) && !defined(_LIBCPP_VERSION) ++inline double abs(double x) throw() { return fabs(x); } + #endif + + void RegisterTopic__(const char *topicfile, const char *topic, const char *title, const UPP::byte *data, int len);