summaryrefslogtreecommitdiff
path: root/sysutils/netbt-hcidump
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2013-09-10 14:44:03 +0000
committerjoerg <joerg@pkgsrc.org>2013-09-10 14:44:03 +0000
commitbed5e3481a8dea80d98f7652b0f8bdf55827c0d0 (patch)
tree9acd4d32bc9620ba15495305a0122fc5de1eedf7 /sysutils/netbt-hcidump
parent6b9c4c123424fba11d9ed3240cdb5cab9f8a1236 (diff)
downloadpkgsrc-bed5e3481a8dea80d98f7652b0f8bdf55827c0d0.tar.gz
Fix format string.
Diffstat (limited to 'sysutils/netbt-hcidump')
-rw-r--r--sysutils/netbt-hcidump/distinfo4
-rw-r--r--sysutils/netbt-hcidump/patches/patch-ah16
2 files changed, 16 insertions, 4 deletions
diff --git a/sysutils/netbt-hcidump/distinfo b/sysutils/netbt-hcidump/distinfo
index 1c82892e9e5..0a6bc7803b4 100644
--- a/sysutils/netbt-hcidump/distinfo
+++ b/sysutils/netbt-hcidump/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.11 2012/12/12 11:32:08 plunky Exp $
+$NetBSD: distinfo,v 1.12 2013/09/10 14:44:03 joerg Exp $
SHA1 (bluez-hcidump-2.5.tar.gz) = 8f25ae706fa2da23036ba1968a70389742634f64
RMD160 (bluez-hcidump-2.5.tar.gz) = b23a15e2f3388f0d1788827022a3f0ed65c04508
@@ -9,7 +9,7 @@ SHA1 (patch-ac) = 8bb167974e0dc883b0ffc2e5a66465d6e215fe9b
SHA1 (patch-ad) = 65f5e76b20489907838d2eff47c6fdaea251a7e0
SHA1 (patch-ae) = 29bd10d4149db9ed9f5970da66f855e3e8e2d5ec
SHA1 (patch-af) = d32b7ac6add15c95fce071d1f64ad7e1f655c99f
-SHA1 (patch-ah) = e8902e5114c592f6f53706f804bdb1b90a5de07e
+SHA1 (patch-ah) = d65ea0e99f2ab02440ce1f72bb55c8207758860a
SHA1 (patch-ai) = 44800df5e4b4b729cd73478eda0c330024235e81
SHA1 (patch-aj) = 27b2298a968ca4306072950f5d49bb5c5204777a
SHA1 (patch-ak) = d1da910f5261c19918d0c42ddaab77f825042ac2
diff --git a/sysutils/netbt-hcidump/patches/patch-ah b/sysutils/netbt-hcidump/patches/patch-ah
index 6f19b61d564..07feb849559 100644
--- a/sysutils/netbt-hcidump/patches/patch-ah
+++ b/sysutils/netbt-hcidump/patches/patch-ah
@@ -1,6 +1,6 @@
-$NetBSD: patch-ah,v 1.3 2012/05/21 07:01:32 plunky Exp $
+$NetBSD: patch-ah,v 1.4 2013/09/10 14:44:03 joerg Exp $
---- parser/parser.h.orig 2012-04-20 19:28:19.000000000 +0000
+--- parser/parser.h.orig 2012-11-30 08:29:41.000000000 +0000
+++ parser/parser.h
@@ -36,7 +36,7 @@ struct frame {
uint32_t data_len;
@@ -11,3 +11,15 @@ $NetBSD: patch-ah,v 1.3 2012/05/21 07:01:32 plunky Exp $
uint8_t in;
uint8_t master;
uint16_t handle;
+@@ -134,9 +134,9 @@ static inline void p_indent(int level, s
+ localtime_r(&t, &tm);
+ printf("%04d-%02d-%02d %02d:%02d:%02d.%06lu ",
+ tm.tm_year + 1900, tm.tm_mon + 1, tm.tm_mday,
+- tm.tm_hour, tm.tm_min, tm.tm_sec, f->ts.tv_usec);
++ tm.tm_hour, tm.tm_min, tm.tm_sec, (unsigned long)f->ts.tv_usec);
+ } else
+- printf("%8lu.%06lu ", f->ts.tv_sec, f->ts.tv_usec);
++ printf("%8lu.%06lu ", f->ts.tv_sec, (unsigned long)f->ts.tv_usec);
+ }
+ printf("%c ", (f->in ? '>' : '<'));
+ parser.state = 1;