pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/misc/ibutton-pdkit Remove unnecessary breakable cast. ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1751d0a888ef
branches:  trunk
changeset: 536680:1751d0a888ef
user:      obache <obache%pkgsrc.org@localhost>
date:      Thu Dec 20 13:12:13 2007 +0000

description:
Remove unnecessary breakable cast.  Build again with GCC4.

diffstat:

 misc/ibutton-pdkit/distinfo         |   3 ++-
 misc/ibutton-pdkit/patches/patch-ae |  22 ++++++++++++++++++++++
 2 files changed, 24 insertions(+), 1 deletions(-)

diffs (40 lines):

diff -r 2b8ea5d167ff -r 1751d0a888ef misc/ibutton-pdkit/distinfo
--- a/misc/ibutton-pdkit/distinfo       Thu Dec 20 12:24:11 2007 +0000
+++ b/misc/ibutton-pdkit/distinfo       Thu Dec 20 13:12:13 2007 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.4 2006/03/25 18:04:04 joerg Exp $
+$NetBSD: distinfo,v 1.5 2007/12/20 13:12:13 obache Exp $
 
 SHA1 (ulinuxgnu.zip) = 3c60908177c665fc10f56b6b81c39c6117b7d9d2
 RMD160 (ulinuxgnu.zip) = bc0797ffd2e0042807d6d02ca96e5f1f36233624
@@ -7,3 +7,4 @@
 SHA1 (patch-ab) = 0381f2be279a842b2b007aeb51a37cfa30b95e2c
 SHA1 (patch-ac) = 4fb5ab4e92c0c0ea648084442ecdad1513092064
 SHA1 (patch-ad) = 69910ca489c46e1c9e8fda90753cf98054e00ebe
+SHA1 (patch-ae) = f146dbc9b0bd94725c86d4e2bc4cc32075c5a457
diff -r 2b8ea5d167ff -r 1751d0a888ef misc/ibutton-pdkit/patches/patch-ae
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/ibutton-pdkit/patches/patch-ae       Thu Dec 20 13:12:13 2007 +0000
@@ -0,0 +1,22 @@
+$NetBSD: patch-ae,v 1.1 2007/12/20 13:12:13 obache Exp $
+
+--- 1wsnsut.c.orig     2000-05-03 20:31:51.000000000 +0000
++++ 1wsnsut.c
+@@ -410,7 +410,7 @@ int ScriptStep(int portnum, Script *Stat
+             {
+                scnt = sprintf(statusmsg,"Tag file found on ");
+                // print rom
+-               owSerialNum(portnum, &(uchar)trom[0], TRUE);
++               owSerialNum(portnum, &trom[0], TRUE);
+                for (i = 7; i >= 0; i--)
+                   scnt += sprintf(statusmsg + scnt,"%02X",trom[i]);
+                scnt += sprintf(statusmsg + scnt,"\n");
+@@ -822,7 +822,7 @@ int DeviceCheckedForTag(int portnum, uch
+    *retry_ptr = NULL;
+ 
+    // read the rom to check
+-   owSerialNum(portnum, &(uchar)trom[0], TRUE);
++   owSerialNum(portnum, &trom[0], TRUE);
+    
+    // loop through all of the rom's known
+    for (s = 0; s < stack_num; s++)



Home | Main Index | Thread Index | Old Index