Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Jul 2016 13:41:26 +0000 (UTC)
From:      Thomas Zander <riggs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r418965 - head/devel/upp/files
Message-ID:  <201607231341.u6NDfQiJ055704@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);



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