summaryrefslogtreecommitdiff
path: root/meta-pkgs
diff options
context:
space:
mode:
authorschwarz <schwarz@pkgsrc.org>2010-02-21 23:11:39 +0000
committerschwarz <schwarz@pkgsrc.org>2010-02-21 23:11:39 +0000
commit3e38d80046be876186820c909beea31e0caa1142 (patch)
tree75746d5e5d452b25f32d52a7d5de6c3e893f9ac5 /meta-pkgs
parent560fad0bb6b3456d4298e23efe421a753792fabc (diff)
downloadpkgsrc-3e38d80046be876186820c909beea31e0caa1142.tar.gz
added a patch for MacOS 10.6 (64 bit mode)
Diffstat (limited to 'meta-pkgs')
-rw-r--r--meta-pkgs/gnuradio/distinfo3
-rw-r--r--meta-pkgs/gnuradio/patches/patch-af67
2 files changed, 69 insertions, 1 deletions
diff --git a/meta-pkgs/gnuradio/distinfo b/meta-pkgs/gnuradio/distinfo
index b7ae0c60ee6..0b5c2aa743b 100644
--- a/meta-pkgs/gnuradio/distinfo
+++ b/meta-pkgs/gnuradio/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.2 2009/12/30 21:13:15 joerg Exp $
+$NetBSD: distinfo,v 1.3 2010/02/21 23:11:39 schwarz Exp $
SHA1 (gnuradio-3.2.tar.gz) = 3d7e177a57f8c40ec5ac95161f06097872aef1ba
RMD160 (gnuradio-3.2.tar.gz) = 9d36dc6427eaf59795c8d4853764d5a526cfbce8
@@ -8,3 +8,4 @@ SHA1 (patch-ab) = f7db7741c27b3dd32eb104637b537b304234d12c
SHA1 (patch-ac) = bfd82ea0e6dd7ed0fc5194d0027323a4adbb306b
SHA1 (patch-ad) = 496fad80b4050a08c0f4e5197d491e7be6828c50
SHA1 (patch-ae) = 0e5211736ffa70edd704b10fce2d8d3943c552c2
+SHA1 (patch-af) = dfb9521d9cd9f30f02f67b2d6259c325dc02fc2f
diff --git a/meta-pkgs/gnuradio/patches/patch-af b/meta-pkgs/gnuradio/patches/patch-af
new file mode 100644
index 00000000000..9fb38f810c4
--- /dev/null
+++ b/meta-pkgs/gnuradio/patches/patch-af
@@ -0,0 +1,67 @@
+$NetBSD: patch-af,v 1.1 2010/02/21 23:11:39 schwarz Exp $
+
+--- usrp/host/lib/legacy/fusb_darwin.cc.orig 2010-02-21 15:52:58.000000000 +0100
++++ usrp/host/lib/legacy/fusb_darwin.cc 2010-02-21 15:57:20.000000000 +0100
+@@ -345,7 +345,7 @@
+ if ((! l_both) || (! d_started)) {
+ if (usb_debug > 4)
+ fprintf (stderr, "fusb_ephandle_darwin::read_issue: Doing nothing; "
+- "l_both is %X; started is %s\n", (unsigned int) l_both,
++ "l_both is %X; started is %s\n", (unsigned long) l_both,
+ d_started ? "TRUE" : "FALSE");
+ return;
+ }
+@@ -380,7 +380,7 @@
+ darwin_error_str (result));
+ else if (usb_debug > 4)
+ fprintf (stderr, "fusb_ephandle_darwin::read_issue: "
+- "Queued %X (%ld Bytes)\n", (unsigned int) l_both, bufLen);
++ "Queued %X (%ld Bytes)\n", (unsigned long) l_both, bufLen);
+ }
+
+ void
+@@ -388,7 +388,7 @@
+ io_return_t result,
+ void* io_size)
+ {
+- UInt32 l_size = (UInt32) io_size;
++ unsigned long l_size = (unsigned long) io_size;
+ s_both_ptr l_both = static_cast<s_both_ptr>(refCon);
+ fusb_ephandle_darwin* This = static_cast<fusb_ephandle_darwin*>(l_both->This ());
+ s_node_ptr l_node = l_both->node ();
+@@ -403,7 +403,7 @@
+ else if (usb_debug > 4)
+ fprintf (stderr, "fusb_ephandle_darwin::read_completed: "
+ "Read %X (%ld bytes)\n",
+- (unsigned int) l_both, l_size);
++ (unsigned long) l_both, l_size);
+
+ // add this read to the transfer buffer
+ if (l_buffer->enqueue (l_buf->buffer (), l_size) == -1) {
+@@ -477,7 +477,7 @@
+ darwin_error_str (result));
+ else if (usb_debug > 4) {
+ fprintf (stderr, "fusb_ephandle_darwin::write_thread: "
+- "Queued %X (%ld Bytes)\n", (unsigned int) l_both, t_nbytes);
++ "Queued %X (%ld Bytes)\n", (unsigned long) l_both, t_nbytes);
+ }
+ l_nbytes -= t_nbytes;
+ }
+@@ -492,7 +492,7 @@
+ {
+ s_both_ptr l_both = static_cast<s_both_ptr>(refCon);
+ fusb_ephandle_darwin* This = static_cast<fusb_ephandle_darwin*>(l_both->This ());
+- UInt32 l_size = (UInt32) io_size;
++ unsigned long l_size = (unsigned long) io_size;
+ s_node_ptr l_node = l_both->node ();
+ s_queue_ptr l_queue = This->d_queue;
+ s_buffer_ptr l_buf = l_node->object ();
+@@ -504,7 +504,7 @@
+ l_i_size, l_size);
+ else if (usb_debug > 4)
+ fprintf (stderr, "fusb_ephandle_darwin::write_completed: "
+- "Wrote %X (%ld Bytes)\n", (unsigned int) l_both, l_size);
++ "Wrote %X (%ld Bytes)\n", (unsigned long) l_both, l_size);
+
+ // set buffer's # data to 0
+ l_buf->n_used (0);