pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/netbt-hcidump Fix format string on ILP32 plat...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f5aa30fa71ae
branches:  trunk
changeset: 648803:f5aa30fa71ae
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu Mar 19 19:16:31 2015 +0000

description:
Fix format string on ILP32 platforms with 64bit time_t.

diffstat:

 sysutils/netbt-hcidump/Makefile                            |  3 ++-
 sysutils/netbt-hcidump/distinfo                            |  4 ++--
 sysutils/netbt-hcidump/patches/patch-tools_parser_parser.h |  4 ++--
 3 files changed, 6 insertions(+), 5 deletions(-)

diffs (48 lines):

diff -r 1acc548c9278 -r f5aa30fa71ae sysutils/netbt-hcidump/Makefile
--- a/sysutils/netbt-hcidump/Makefile   Thu Mar 19 19:15:37 2015 +0000
+++ b/sysutils/netbt-hcidump/Makefile   Thu Mar 19 19:16:31 2015 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.10 2014/12/30 08:39:13 plunky Exp $
+# $NetBSD: Makefile,v 1.11 2015/03/19 19:16:31 joerg Exp $
 
 DISTNAME=              bluez-5.27
 PKGNAME=               netbt-hcidump-${BLUEZ_VERSION}
+PKGREVISION=           1
 CATEGORIES=            sysutils
 MASTER_SITES=          http://www.kernel.org/pub/linux/bluetooth/
 EXTRACT_SUFX=          .tar.xz
diff -r 1acc548c9278 -r f5aa30fa71ae sysutils/netbt-hcidump/distinfo
--- a/sysutils/netbt-hcidump/distinfo   Thu Mar 19 19:15:37 2015 +0000
+++ b/sysutils/netbt-hcidump/distinfo   Thu Mar 19 19:16:31 2015 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.13 2014/12/30 08:39:13 plunky Exp $
+$NetBSD: distinfo,v 1.14 2015/03/19 19:16:31 joerg Exp $
 
 SHA1 (bluez-5.27.tar.xz) = c1707e8ae38b299c07e6c18ff3c26a4b928d03bf
 RMD160 (bluez-5.27.tar.xz) = 21cec0a67c70215cc6972a0bfd5679b1a5fa8fac
@@ -18,6 +18,6 @@
 SHA1 (patch-tools_parser_Makefile) = 5f3e3c3b73a88756e485318d4b00e64d42366fa3
 SHA1 (patch-tools_parser_bnep.c) = efbbe5f4cd47dcb0bf72c16bd67d9d93ba7cd43a
 SHA1 (patch-tools_parser_lmp.c) = f410be55cf07f6d7f7d3b1466b7fbe708b1a6de5
-SHA1 (patch-tools_parser_parser.h) = f644764b717fa8d1ae7935cc83b4199e6cd69159
+SHA1 (patch-tools_parser_parser.h) = 19ff1cdd8d7af71d9ae86497d3e1f49ae9db9a2a
 SHA1 (patch-tools_parser_rfcomm.h) = 917dd10203c62de7679909fc014a69ccd2a5185d
 SHA1 (patch-tools_parser_tcpip.c) = e06881372e8edf23f22c1a0a61c9bc346381a0e3
diff -r 1acc548c9278 -r f5aa30fa71ae sysutils/netbt-hcidump/patches/patch-tools_parser_parser.h
--- a/sysutils/netbt-hcidump/patches/patch-tools_parser_parser.h        Thu Mar 19 19:15:37 2015 +0000
+++ b/sysutils/netbt-hcidump/patches/patch-tools_parser_parser.h        Thu Mar 19 19:16:31 2015 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-tools_parser_parser.h,v 1.1 2014/12/30 08:39:13 plunky Exp $
+$NetBSD: patch-tools_parser_parser.h,v 1.2 2015/03/19 19:16:31 joerg Exp $
 
 the device ID is a string on netbt stack
 
@@ -21,7 +21,7 @@
 +                                      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("%8ju.%06lu ", (uintmax_t)f->ts.tv_sec, (unsigned long)f->ts.tv_usec);
                }
                printf("%c ", (f->in ? '>' : '<'));
                parser.state = 1;



Home | Main Index | Thread Index | Old Index