diff options
author | hans <hans@pkgsrc.org> | 2011-09-14 15:53:35 +0000 |
---|---|---|
committer | hans <hans@pkgsrc.org> | 2011-09-14 15:53:35 +0000 |
commit | 7a7fba7f8f115b1642fb7786b536020b347ae362 (patch) | |
tree | d1794a272a07cb2033b8f2f7978868439619a3ff /devel/cppunit | |
parent | 3a6cf04ab817fd8a75aad9e9c7c406ec3275844b (diff) | |
download | pkgsrc-7a7fba7f8f115b1642fb7786b536020b347ae362.tar.gz |
Fix build on SunOS.
Diffstat (limited to 'devel/cppunit')
-rw-r--r-- | devel/cppunit/distinfo | 3 | ||||
-rw-r--r-- | devel/cppunit/patches/patch-include_cppunit_portability_FloatingPoint.h | 15 |
2 files changed, 17 insertions, 1 deletions
diff --git a/devel/cppunit/distinfo b/devel/cppunit/distinfo index 47e389561e9..a5d8135b0db 100644 --- a/devel/cppunit/distinfo +++ b/devel/cppunit/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.4 2011/06/28 09:28:24 wiz Exp $ +$NetBSD: distinfo,v 1.5 2011/09/14 15:56:15 hans Exp $ SHA1 (cppunit-1.12.1.tar.gz) = f1ab8986af7a1ffa6760f4bacf5622924639bf4a RMD160 (cppunit-1.12.1.tar.gz) = c5f38b1d201afcba7913f2b53fb7558add3d21f5 Size (cppunit-1.12.1.tar.gz) = 762803 bytes SHA1 (patch-include_cppunit_Message.h) = aa4442b3c8d144a686d8d43f4c97943ee0d82ba4 +SHA1 (patch-include_cppunit_portability_FloatingPoint.h) = 7e358bc36e201b6fcee801ee04bd68055e69e233 SHA1 (patch-src_cppunit_Message.cpp) = 4e5d38c70879d30f18bc7135916346a58652d3ce diff --git a/devel/cppunit/patches/patch-include_cppunit_portability_FloatingPoint.h b/devel/cppunit/patches/patch-include_cppunit_portability_FloatingPoint.h new file mode 100644 index 00000000000..8055ad9b2f6 --- /dev/null +++ b/devel/cppunit/patches/patch-include_cppunit_portability_FloatingPoint.h @@ -0,0 +1,15 @@ +$NetBSD: patch-include_cppunit_portability_FloatingPoint.h,v 1.1 2011/09/14 15:56:15 hans Exp $ + +--- include/cppunit/portability/FloatingPoint.h.orig 2007-03-05 04:16:42.000000000 +0100 ++++ include/cppunit/portability/FloatingPoint.h 2011-09-13 15:48:01.512720874 +0200 +@@ -4,6 +4,10 @@ + #include <cppunit/Portability.h> + #include <math.h> + ++#ifdef __sun ++#include <ieeefp.h> ++#endif ++ + CPPUNIT_NS_BEGIN + + /// \brief Tests if a floating-point is a NaN. |