svn commit: r418965 - head/devel/upp/files

Thomas Zander riggs at FreeBSD.org
Sat Jul 23 13:41:27 UTC 2016


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);


More information about the svn-ports-all mailing list