components/cppunit/patches/fp.patch
author Rich Burridge <rich.burridge@oracle.com>
Wed, 09 Nov 2016 05:57:32 -0800
changeset 7272 4a80cbc73b6a
parent 4922 aa78e587dfdd
permissions -rw-r--r--
25035633 gtkspell contains a man page normalization problem

Changes needed to get cppunit to build on Solaris.

These changes will be reported upstream.

--- cppunit-1.12.1/include/cppunit/portability/FloatingPoint.h.orig	2015-05-08 06:53:35.731634778 -0700
+++ cppunit-1.12.1/include/cppunit/portability/FloatingPoint.h	2015-05-08 06:53:16.614630891 -0700
@@ -3,6 +3,9 @@
 
 #include <cppunit/Portability.h>
 #include <math.h>
+#if defined(sun)
+#include <ieeefp.h>
+#endif
 
 CPPUNIT_NS_BEGIN