diff options
author | joerg <joerg@pkgsrc.org> | 2013-09-10 14:13:40 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2013-09-10 14:13:40 +0000 |
commit | 89e3f26ba8090a6d41f0adcb2ff7bebf0658f773 (patch) | |
tree | 52d297d0187b7013522ceb06391f537a0c8f4b9f /comms | |
parent | fbc9024866144ef173487a9d966d8001bbe42f71 (diff) | |
download | pkgsrc-89e3f26ba8090a6d41f0adcb2ff7bebf0658f773.tar.gz |
Fix printf argument type. Handle errors properly. Bump revision.
Diffstat (limited to 'comms')
-rw-r--r-- | comms/bthfp/Makefile | 3 | ||||
-rw-r--r-- | comms/bthfp/distinfo | 4 | ||||
-rw-r--r-- | comms/bthfp/patches/patch-aa | 22 |
3 files changed, 24 insertions, 5 deletions
diff --git a/comms/bthfp/Makefile b/comms/bthfp/Makefile index e1ddf83418c..31149270838 100644 --- a/comms/bthfp/Makefile +++ b/comms/bthfp/Makefile @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.8 2012/10/03 11:24:39 asau Exp $ +# $NetBSD: Makefile,v 1.9 2013/09/10 14:13:40 joerg Exp $ DISTNAME= bthfp-0.1 +PKGREVISION= 1 CATEGORIES= comms MASTER_SITES= http://homepages.rya-online.net/plunky/ DISTFILES= bthfp-0.1.tar.gz diff --git a/comms/bthfp/distinfo b/comms/bthfp/distinfo index dc94630c580..d133dfd7886 100644 --- a/comms/bthfp/distinfo +++ b/comms/bthfp/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.3 2009/05/12 14:36:28 plunky Exp $ +$NetBSD: distinfo,v 1.4 2013/09/10 14:13:40 joerg Exp $ SHA1 (bthfp-0.1.tar.gz) = f0cefa424596545dec3c7d61eb9e608e8178871b RMD160 (bthfp-0.1.tar.gz) = 5185c59ee67a7482ec8c424172fdeebed5bb3238 Size (bthfp-0.1.tar.gz) = 8522 bytes -SHA1 (patch-aa) = 66e1d2be8a9de92b7a47bea8bba0adb68510d740 +SHA1 (patch-aa) = d1f5f88f27f307b8392b260da27cd7e01775d86a SHA1 (patch-ab) = 83a4185d99f658ca7a1779c5854dc71855277baf diff --git a/comms/bthfp/patches/patch-aa b/comms/bthfp/patches/patch-aa index 0db77888d52..4c6570f66c5 100644 --- a/comms/bthfp/patches/patch-aa +++ b/comms/bthfp/patches/patch-aa @@ -1,6 +1,6 @@ -$NetBSD: patch-aa,v 1.1 2008/06/21 20:47:28 joerg Exp $ +$NetBSD: patch-aa,v 1.2 2013/09/10 14:13:40 joerg Exp $ ---- bthfp.c.orig 2008-06-21 14:42:12.000000000 +0000 +--- bthfp.c.orig 2006-09-13 08:16:29.000000000 +0000 +++ bthfp.c @@ -480,8 +480,8 @@ accept_sco(int fd, short ev, void *arg) @@ -13,3 +13,21 @@ $NetBSD: patch-aa,v 1.1 2008/06/21 20:47:28 joerg Exp $ close(sc); sc = -1; return; +@@ -854,7 +854,7 @@ recv_rfcomm(int fd, short ev, void *arg) + { + struct result_code *rc; + char buf[256], *code, *next; +- size_t len; ++ ssize_t len; + + /* XXX what if buf is not large enough? */ + +@@ -895,7 +895,7 @@ recv_rfcomm(int fd, short ev, void *arg) + len -= 2; + + if (verbose) +- printf("> %.*s\n", next - code, code); ++ printf("> %.*s\n", (int)(next - code), code); + + for (rc = result_codes ; rc->code != NULL ; rc++) { + if (strncmp(code, rc->code, rc->strlen) == 0) { |