summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--meta-pkgs/gnuradio/distinfo5
-rw-r--r--meta-pkgs/gnuradio/patches/patch-aa12
-rw-r--r--meta-pkgs/gnuradio/patches/patch-gnuradio-core_src_lib_general_gr__math.cc21
3 files changed, 35 insertions, 3 deletions
diff --git a/meta-pkgs/gnuradio/distinfo b/meta-pkgs/gnuradio/distinfo
index cb0a14daa56..de22e073b4e 100644
--- a/meta-pkgs/gnuradio/distinfo
+++ b/meta-pkgs/gnuradio/distinfo
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.4 2010/09/15 09:38:42 markd Exp $
+$NetBSD: distinfo,v 1.5 2012/01/12 15:47:45 hans Exp $
SHA1 (gnuradio-3.3.0.tar.gz) = 41d5c177b173ce73404f5fe539b013c82600f73f
RMD160 (gnuradio-3.3.0.tar.gz) = ae83bd8a93deaf73d730e2af0d05c9ffc4c98520
Size (gnuradio-3.3.0.tar.gz) = 6997955 bytes
-SHA1 (patch-aa) = 08c9b0fc725bcb2f6795445cbd64af431f9ce9a1
+SHA1 (patch-aa) = 3416b3c91170db727dee0986dc60cf1943d27edf
SHA1 (patch-ab) = f7db7741c27b3dd32eb104637b537b304234d12c
SHA1 (patch-ac) = bfd82ea0e6dd7ed0fc5194d0027323a4adbb306b
SHA1 (patch-ae) = 44c99528a5ae8fe10f473f0da9f1c41edaa8ba8d
@@ -12,3 +12,4 @@ SHA1 (patch-ah) = 713fd140b8143b468b8ac2422f825a1ee24d4419
SHA1 (patch-ai) = 2e8291c4d8a117c9c69de0ee906fbff85485d797
SHA1 (patch-aj) = 046fb46567fcbef58143ac3eeb2d0f1fd905618e
SHA1 (patch-ak) = c6d2d9289600a89cd425d1bab671b080888d9c04
+SHA1 (patch-gnuradio-core_src_lib_general_gr__math.cc) = 81161e9576c3ec8259a20663eb991578f0ac40c3
diff --git a/meta-pkgs/gnuradio/patches/patch-aa b/meta-pkgs/gnuradio/patches/patch-aa
index b442a2f0fba..020356e5f73 100644
--- a/meta-pkgs/gnuradio/patches/patch-aa
+++ b/meta-pkgs/gnuradio/patches/patch-aa
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.1 2009/09/11 16:24:31 joerg Exp $
+$NetBSD: patch-aa,v 1.2 2012/01/12 15:47:45 hans Exp $
--- gnuradio-core/src/lib/runtime/gr_dispatcher.cc.orig 2008-05-09 18:35:10.000000000 +1200
+++ gnuradio-core/src/lib/runtime/gr_dispatcher.cc
@@ -30,3 +30,13 @@ $NetBSD: patch-aa,v 1.1 2009/09/11 16:24:31 joerg Exp $
# endif
#endif
+@@ -44,6 +44,9 @@
+ # endif
+ #endif
+
++#ifdef __sun
++#include <string.h> /* for memset(), used by FD_ZERO */
++#endif
+
+ static gr_dispatcher_sptr s_singleton;
+
diff --git a/meta-pkgs/gnuradio/patches/patch-gnuradio-core_src_lib_general_gr__math.cc b/meta-pkgs/gnuradio/patches/patch-gnuradio-core_src_lib_general_gr__math.cc
new file mode 100644
index 00000000000..8b1e3a04d81
--- /dev/null
+++ b/meta-pkgs/gnuradio/patches/patch-gnuradio-core_src_lib_general_gr__math.cc
@@ -0,0 +1,21 @@
+$NetBSD: patch-gnuradio-core_src_lib_general_gr__math.cc,v 1.1 2012/01/12 15:47:45 hans Exp $
+
+--- gnuradio-core/src/lib/general/gr_math.cc.orig 2010-06-03 08:45:00.000000000 +0200
++++ gnuradio-core/src/lib/general/gr_math.cc 2011-10-12 17:08:22.292617060 +0200
+@@ -82,6 +82,16 @@ gr_isnan (double value)
+ // allows zero to be signed. The comparison `-0.0 < 0.0' is false, but
+ // `gr_signbit (-0.0)' will return a nonzero value.
+
++#ifdef __sun
++#define signbit sun_signbit
++int sun_signbit (double x)
++{
++ if (x < 0.0)
++ return 1;
++ return 0;
++}
++#endif
++
+ #ifdef signbit
+
+ int