diff options
author | joerg <joerg@pkgsrc.org> | 2015-02-23 18:19:34 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2015-02-23 18:19:34 +0000 |
commit | d4f6f6a15c14c6959ed0f023c3ff721b4cf4afde (patch) | |
tree | 644312e333d524584829fc8da29937a27dbde9d2 | |
parent | 7b575b0a3e531a701b2ae44492392fd4bc25d480 (diff) | |
download | pkgsrc-d4f6f6a15c14c6959ed0f023c3ff721b4cf4afde.tar.gz |
Fix format string for (formerly) time_t argument.
-rw-r--r-- | chat/phone/Makefile | 4 | ||||
-rw-r--r-- | chat/phone/distinfo | 3 | ||||
-rw-r--r-- | chat/phone/patches/patch-master_page.c | 13 |
3 files changed, 17 insertions, 3 deletions
diff --git a/chat/phone/Makefile b/chat/phone/Makefile index ba7c8a01089..ed3a29240ac 100644 --- a/chat/phone/Makefile +++ b/chat/phone/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.3 2014/06/29 03:32:36 dholland Exp $ +# $NetBSD: Makefile,v 1.4 2015/02/23 18:19:34 joerg Exp $ DISTNAME= phone-2.0 -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= chat MASTER_SITES= ftp://ftp.astron.com/pub/phone/ DIST_SUBDIR= phone-2.0nb1 diff --git a/chat/phone/distinfo b/chat/phone/distinfo index a368f244491..551cc1bd382 100644 --- a/chat/phone/distinfo +++ b/chat/phone/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.4 2014/09/11 07:15:56 dholland Exp $ +$NetBSD: distinfo,v 1.5 2015/02/23 18:19:34 joerg Exp $ SHA1 (phone-2.0nb1/phone-2.0.tar.gz) = 0d89cc63225ee96d821dd3d8ab310ac5ea69b40a RMD160 (phone-2.0nb1/phone-2.0.tar.gz) = c43ac0cd5de357cfb5dee1ac1546f2c2926be6ab @@ -9,3 +9,4 @@ SHA1 (patch-conv_Makefile) = fdacf30c339aecaf2326da956196e65bf6c8fe47 SHA1 (patch-conv_convd.c) = 63c33e1571d84e9a51894003d085f136dc4ae4f2 SHA1 (patch-master_Makefile) = 07215108e5ae85c62c5a06a195e95a804776c8e3 SHA1 (patch-master_defs.h) = c9d79711b28d629dbe9c1493f2467faf915ee9be +SHA1 (patch-master_page.c) = db2af3cb4069384e8159c8eaad43587280630954 diff --git a/chat/phone/patches/patch-master_page.c b/chat/phone/patches/patch-master_page.c new file mode 100644 index 00000000000..02d8817ebff --- /dev/null +++ b/chat/phone/patches/patch-master_page.c @@ -0,0 +1,13 @@ +$NetBSD: patch-master_page.c,v 1.1 2015/02/23 18:19:34 joerg Exp $ + +--- master/page.c.orig 2015-02-23 13:01:40.000000000 +0000 ++++ master/page.c +@@ -73,7 +73,7 @@ page(char *argv[], struct sockaddr_in *s + * from the lower 4 bits of the time. + */ + +- snprintf(new->id, sizeof(new->id), "%05ld",(now & 9999L)); ++ snprintf(new->id, sizeof(new->id), "%05ld",(long)(now & 9999L)); + sendit(misc, sin, "%c%c%c%s", ESC, PAGE, ACK, new->id); + + /* figure out host name */ |