diff options
author | plunky <plunky@pkgsrc.org> | 2010-12-10 13:06:14 +0000 |
---|---|---|
committer | plunky <plunky@pkgsrc.org> | 2010-12-10 13:06:14 +0000 |
commit | b7514070c97b9822482f324853e2310a926283e8 (patch) | |
tree | 15a8ed244427eb482bcc4be1ccdd653f65d465d8 | |
parent | 9ad76393323cf93788541ca364b88e04a65f8888 (diff) | |
download | pkgsrc-b7514070c97b9822482f324853e2310a926283e8.tar.gz |
fix a build failure wrt 64-bit time_t on NetBSD-current
-rw-r--r-- | sysutils/hcidump/distinfo | 4 | ||||
-rw-r--r-- | sysutils/hcidump/patches/patch-aj | 13 |
2 files changed, 13 insertions, 4 deletions
diff --git a/sysutils/hcidump/distinfo b/sysutils/hcidump/distinfo index 79c0daa1c28..b6b2fd38fd9 100644 --- a/sysutils/hcidump/distinfo +++ b/sysutils/hcidump/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.1.1.1 2006/07/25 16:28:47 salo Exp $ +$NetBSD: distinfo,v 1.2 2010/12/10 13:06:14 plunky Exp $ SHA1 (hcidump-1.5.1.tar.gz) = add1995a26860b76bda570c4cc3582d98eafb604 RMD160 (hcidump-1.5.1.tar.gz) = 7f95aa8b78732a6fb963f6993827eaea631f0c19 @@ -12,7 +12,7 @@ SHA1 (patch-af) = 9019b5eda8cabe6616c2649f6413b19f6dc7119b SHA1 (patch-ag) = c4350bf9ea0101e66487d050b29fb61dd49b2bf6 SHA1 (patch-ah) = e375a5bab3421453773fc82253fa744f21ff5341 SHA1 (patch-ai) = 344235d3b1a9b4c3f210c90ebc8f912a234d145b -SHA1 (patch-aj) = 08b1882377eff4d8c008e781d1c6d59a62da8167 +SHA1 (patch-aj) = 9abdad3a23301df98f4d21404b3ba084f413c9ef SHA1 (patch-ak) = dd45db8c92e6546ceffa4129721ab85655110734 SHA1 (patch-al) = bd438b6c41c7e34ea97ce69e3a9d2cdea4e94862 SHA1 (patch-am) = f946c943004c8c71354b858041fe5f3ec2564f98 diff --git a/sysutils/hcidump/patches/patch-aj b/sysutils/hcidump/patches/patch-aj index 8fa50200dae..0bd3901d1a2 100644 --- a/sysutils/hcidump/patches/patch-aj +++ b/sysutils/hcidump/patches/patch-aj @@ -1,8 +1,8 @@ -$NetBSD: patch-aj,v 1.1.1.1 2006/07/25 16:28:48 salo Exp $ +$NetBSD: patch-aj,v 1.2 2010/12/10 13:06:14 plunky Exp $ kill all the compiler warnings ---- parser/parser.c.orig 2003-09-13 00:38:11.000000000 +0100 +--- parser/parser.c.orig 2003-09-12 23:38:11.000000000 +0000 +++ parser/parser.c @@ -25,6 +25,7 @@ */ @@ -12,6 +12,15 @@ kill all the compiler warnings #include <netinet/in.h> #include <ctype.h> #include <stdio.h> +@@ -65,7 +66,7 @@ void p_indent(int level, struct frame *f + + if (!parser.state) { + if (parser.flags & DUMP_TSTAMP) +- printf("%8lu.%06lu ", f->ts.tv_sec, f->ts.tv_usec); ++ printf("%8lu.%06lu ", (unsigned long)f->ts.tv_sec, (unsigned long)f->ts.tv_usec); + printf("%c ", (f->in ? '>' : '<')); + parser.state = 1; + } else @@ -79,7 +80,7 @@ void p_indent(int level, struct frame *f uint8_t get_u8(struct frame *frm) |