svn commit: r517142 - head/print/scribus-devel/files

Piotr Kubaj pkubaj at FreeBSD.org
Sat Nov 9 19:51:24 UTC 2019


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


More information about the svn-ports-head mailing list