pkgsrc/comms/asterisk16/patches/patch-ba
jnemeth 04337a9d15 Add Asterisk 1.6.0.10. At the moment, this version doesn't have any
hardware support, so it can't replace comms/asterisk.  However,
apparently there is demand for this version, so wiz@ suggested it
be imported here into comms/asterisk16.  The latest version is
1.6.1.1, but I won't have time to update all the patches before the
freeze.  I'll update to that version sometime after the freeze when
I get a chance.
2009-06-12 09:04:55 +00:00

18 lines
627 B
Text

$NetBSD: patch-ba,v 1.1.1.1 2009/06/12 09:04:57 jnemeth Exp $
--- main/sched.c.orig 2008-09-10 09:42:32.000000000 -0700
+++ main/sched.c
@@ -319,11 +319,11 @@ void ast_sched_dump(const struct sched_c
AST_LIST_TRAVERSE(&con->schedq, q, list) {
struct timeval delta = ast_tvsub(q->when, tv);
- ast_debug(1, "|%.4d | %-15p | %-15p | %.6ld : %.6ld |\n",
+ ast_debug(1, "|%.4d | %-15p | %-15p | %.6jd : %.6ld |\n",
q->id,
q->callback,
q->data,
- delta.tv_sec,
+ (intmax_t) delta.tv_sec,
(long int)delta.tv_usec);
}
ast_debug(1, "=============================================================\n");