summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorhans <hans@pkgsrc.org>2011-09-14 15:53:35 +0000
committerhans <hans@pkgsrc.org>2011-09-14 15:53:35 +0000
commit31ea5b5738f0a1176aae11ad6fc53fdcf4e5a080 (patch)
treed1794a272a07cb2033b8f2f7978868439619a3ff /devel
parentf20a577e10698e5927f3668156a2b621f411216e (diff)
downloadpkgsrc-31ea5b5738f0a1176aae11ad6fc53fdcf4e5a080.tar.gz
Fix build on SunOS.
Diffstat (limited to 'devel')
-rw-r--r--devel/cppunit/distinfo3
-rw-r--r--devel/cppunit/patches/patch-include_cppunit_portability_FloatingPoint.h15
-rw-r--r--devel/eina/distinfo3
-rw-r--r--devel/eina/patches/patch-aa22
-rw-r--r--devel/exempi/distinfo3
-rw-r--r--devel/exempi/patches/patch-ac15
6 files changed, 58 insertions, 3 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.
diff --git a/devel/eina/distinfo b/devel/eina/distinfo
index e610b2ffaaf..5825ae70f0c 100644
--- a/devel/eina/distinfo
+++ b/devel/eina/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.5 2009/12/16 19:52:58 joerg Exp $
+$NetBSD: distinfo,v 1.6 2011/09/14 16:07:07 hans Exp $
SHA1 (eina-0.9.9.063.tar.bz2) = 574a405bec4ea60e5f2c7e28684e5d30ae42bf92
RMD160 (eina-0.9.9.063.tar.bz2) = ad2a4d04d2080fe4d7e56ab64cb003511f90c80a
Size (eina-0.9.9.063.tar.bz2) = 430156 bytes
+SHA1 (patch-aa) = 777e06d42caa0cd4113acc203745ff1817b63b2e
diff --git a/devel/eina/patches/patch-aa b/devel/eina/patches/patch-aa
new file mode 100644
index 00000000000..fbe8de7a8d7
--- /dev/null
+++ b/devel/eina/patches/patch-aa
@@ -0,0 +1,22 @@
+$NetBSD: patch-aa,v 1.3 2011/09/14 16:07:07 hans Exp $
+
+--- src/lib/eina_cpu.c.orig 2009-11-09 17:20:58.000000000 +0100
++++ src/lib/eina_cpu.c 2011-09-13 15:58:16.607177765 +0200
+@@ -24,7 +24,7 @@
+ # ifdef _WIN32
+ # define WIN32_LEAN_AND_MEAN
+ # include <windows.h>
+-# elif defined (__SUNPRO_C)
++# elif defined (__sun)
+ # include <unistd.h>
+ # elif defined (__FreeBSD__) || defined (__OpenBSD__) || defined (__NetBSD__) || defined (__DragonFly__) || defined (__MacOSX__) || ( defined (__MACH__) && defined (__APPLE__))
+ # include <unistd.h>
+@@ -133,7 +133,7 @@ EAPI int eina_cpu_count(void)
+ GetSystemInfo(&sysinfo);
+ return sysinfo.dwNumberOfProcessors;
+
+-# elif defined (__SUNPRO_C)
++# elif defined (__sun)
+ /*
+ * _SC_NPROCESSORS_ONLN: number of processors that are online, that
+ is available when sysconf is called. The number
diff --git a/devel/exempi/distinfo b/devel/exempi/distinfo
index e782a48e8ab..27bfbea9fae 100644
--- a/devel/exempi/distinfo
+++ b/devel/exempi/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.5 2010/11/16 13:50:56 drochner Exp $
+$NetBSD: distinfo,v 1.6 2011/09/14 16:08:08 hans Exp $
SHA1 (exempi-2.1.1.tar.gz) = f05a4c1d609c0e3cafdf839c16ec46afae1b160d
RMD160 (exempi-2.1.1.tar.gz) = e79500f804e162df340e669deea620408e4926b4
Size (exempi-2.1.1.tar.gz) = 3401564 bytes
SHA1 (patch-ab) = 363e85076fe7af6bea36953e9ded575a93d340d2
+SHA1 (patch-ac) = 54b58bb0a97c0c80e2a63e7d126ec47cbfcbb195
diff --git a/devel/exempi/patches/patch-ac b/devel/exempi/patches/patch-ac
new file mode 100644
index 00000000000..aeb0f88f4dc
--- /dev/null
+++ b/devel/exempi/patches/patch-ac
@@ -0,0 +1,15 @@
+$NetBSD: patch-ac,v 1.1 2011/09/14 16:08:08 hans Exp $
+
+--- exempi/xmp.h.orig 2009-02-17 05:10:40.000000000 +0100
++++ exempi/xmp.h 2011-09-13 12:42:25.542693751 +0200
+@@ -40,10 +40,7 @@
+ #define __EXEMPI_XMP_H_
+
+ #include <stdlib.h>
+-/* stdbool choke on Sun (bug# 14612) */
+-#if !defined(__sun)
+ #include <stdbool.h>
+-#endif
+ #include <stdint.h>
+
+ #include <time.h>