Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/chat/ircd-hybrid Fix day-of-month format so that strft...
details: https://anonhg.NetBSD.org/pkgsrc/rev/dfa58a982b55
branches: trunk
changeset: 435719:dfa58a982b55
user: kim <kim%pkgsrc.org@localhost>
date: Mon Jul 13 13:12:08 2020 +0000
description:
Fix day-of-month format so that strftime(3) will recognize it.
diffstat:
chat/ircd-hybrid/Makefile | 4 ++--
chat/ircd-hybrid/distinfo | 3 ++-
chat/ircd-hybrid/patches/patch-src_misc.c | 24 ++++++++++++++++++++++++
3 files changed, 28 insertions(+), 3 deletions(-)
diffs (55 lines):
diff -r 31dcd5d9df51 -r dfa58a982b55 chat/ircd-hybrid/Makefile
--- a/chat/ircd-hybrid/Makefile Mon Jul 13 13:01:14 2020 +0000
+++ b/chat/ircd-hybrid/Makefile Mon Jul 13 13:12:08 2020 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.68 2020/05/22 10:55:58 adam Exp $
+# $NetBSD: Makefile,v 1.69 2020/07/13 13:12:08 kim Exp $
DISTNAME= ircd-hybrid-8.2.31
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= chat
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ircd-hybrid/}
EXTRACT_SUFX= .tgz
diff -r 31dcd5d9df51 -r dfa58a982b55 chat/ircd-hybrid/distinfo
--- a/chat/ircd-hybrid/distinfo Mon Jul 13 13:01:14 2020 +0000
+++ b/chat/ircd-hybrid/distinfo Mon Jul 13 13:12:08 2020 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.24 2020/05/04 11:40:10 fox Exp $
+$NetBSD: distinfo,v 1.25 2020/07/13 13:12:08 kim Exp $
SHA1 (ircd-hybrid-8.2.31.tgz) = 6e46be4d51920face2ddc5c72cffc5f420e20f8b
RMD160 (ircd-hybrid-8.2.31.tgz) = 29e74d71ce9a48d72ee9380a3b849bf9bf4b879e
@@ -6,3 +6,4 @@
Size (ircd-hybrid-8.2.31.tgz) = 1245448 bytes
SHA1 (patch-doc_Makefile.in) = 787cb151da51cd947a384e33ae35c58df1d17e19
SHA1 (patch-src_ircd.c) = bed5e5d1663dc64f78be905eeb4f2d9a2cdb1c64
+SHA1 (patch-src_misc.c) = 67373fb505728f155df369740f76573deb469e0c
diff -r 31dcd5d9df51 -r dfa58a982b55 chat/ircd-hybrid/patches/patch-src_misc.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/ircd-hybrid/patches/patch-src_misc.c Mon Jul 13 13:12:08 2020 +0000
@@ -0,0 +1,24 @@
+$NetBSD: patch-src_misc.c,v 1.1 2020/07/13 13:12:09 kim Exp $
+
+Fix day-of-month format so that strftime(3) will recognize it.
+
+--- src/misc.c.orig 2020-05-03 11:05:50.000000000 +0000
++++ src/misc.c 2020-07-13 13:05:57.180120719 +0000
+@@ -42,7 +42,7 @@ date(uintmax_t lclock)
+ if (lclock_last != lclock)
+ {
+ lclock_last = lclock; /* Cache value to avoid repetitive strftime() calls. */
+- strftime(buf, sizeof(buf), "%A %B %-e %Y -- %T %z", localtime((time_t *)&lclock));
++ strftime(buf, sizeof(buf), "%A %B %e %Y -- %T %z", localtime((time_t *)&lclock));
+ }
+
+ return buf;
+@@ -90,7 +90,7 @@ date_ctime(uintmax_t lclock)
+ if (lclock_last != lclock)
+ {
+ lclock_last = lclock; /* Cache value to avoid repetitive strftime() calls. */
+- strftime(buf, sizeof(buf), "%a %b %-e %T %Y", localtime((time_t *)&lclock));
++ strftime(buf, sizeof(buf), "%a %b %e %T %Y", localtime((time_t *)&lclock));
+ }
+
+ return buf;
Home |
Main Index |
Thread Index |
Old Index