Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Nov 2019 19:51:23 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r517142 - head/print/scribus-devel/files
Message-ID:  <201911091951.xA9JpN0J078087@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pkubaj
Date: Sat Nov  9 19:51:23 2019
New Revision: 517142
URL: https://svnweb.freebsd.org/changeset/ports/517142

Log:
  print/scribus-devel: fix build on GCC architectures
  
  isnan() causes error with GCC, use std::isnan().
  
  Approved by:	tcberner (mentor)
  Differential Revision:	https://reviews.freebsd.org/D22143

Added:
  head/print/scribus-devel/files/patch-scribus_third__party_lib2geom_isnan.h   (contents, props changed)

Added: head/print/scribus-devel/files/patch-scribus_third__party_lib2geom_isnan.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/print/scribus-devel/files/patch-scribus_third__party_lib2geom_isnan.h	Sat Nov  9 19:51:23 2019	(r517142)
@@ -0,0 +1,11 @@
+--- scribus/third_party/lib2geom/isnan.h.orig	2019-09-19 12:41:56 UTC
++++ scribus/third_party/lib2geom/isnan.h
+@@ -34,7 +34,7 @@
+ #elif defined(WIN32) || defined(_isnan)
+ # define is_nan(_a) (_isnan(_a)) 	/* Win32 definition */
+ #elif defined(isnan) || defined(__FreeBSD__)
+-# define is_nan(_a) (isnan(_a))		/* GNU definition */
++# define is_nan(_a) (std::isnan(_a))		/* GNU definition */
+ #else
+ # define is_nan(_a) (std::isnan(_a))
+ #endif



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