pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/meta-pkgs/gnuradio added a patch for MacOS 10.6 (64 bi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f7a9cbf92e26
branches:  trunk
changeset: 572193:f7a9cbf92e26
user:      schwarz <schwarz%pkgsrc.org@localhost>
date:      Sun Feb 21 23:11:39 2010 +0000

description:
added a patch for MacOS 10.6 (64 bit mode)

diffstat:

 meta-pkgs/gnuradio/distinfo         |   3 +-
 meta-pkgs/gnuradio/patches/patch-af |  67 +++++++++++++++++++++++++++++++++++++
 2 files changed, 69 insertions(+), 1 deletions(-)

diffs (85 lines):

diff -r 8341ecba72ce -r f7a9cbf92e26 meta-pkgs/gnuradio/distinfo
--- a/meta-pkgs/gnuradio/distinfo       Sun Feb 21 21:41:55 2010 +0000
+++ b/meta-pkgs/gnuradio/distinfo       Sun Feb 21 23:11:39 2010 +0000
@@ -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-ac) = bfd82ea0e6dd7ed0fc5194d0027323a4adbb306b
 SHA1 (patch-ad) = 496fad80b4050a08c0f4e5197d491e7be6828c50
 SHA1 (patch-ae) = 0e5211736ffa70edd704b10fce2d8d3943c552c2
+SHA1 (patch-af) = dfb9521d9cd9f30f02f67b2d6259c325dc02fc2f
diff -r 8341ecba72ce -r f7a9cbf92e26 meta-pkgs/gnuradio/patches/patch-af
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/meta-pkgs/gnuradio/patches/patch-af       Sun Feb 21 23:11:39 2010 +0000
@@ -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);



Home | Main Index | Thread Index | Old Index