Import of pkgsrc-2014Q1

This commit is contained in:
2014-04-17 16:38:45 +02:00
parent 785076ae39
commit 9a8c06dafb
19365 changed files with 828089 additions and 278039 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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) {