pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/chat/ircd-hybrid
Module Name: pkgsrc
Committed By: kim
Date: Mon Jul 13 13:12:09 UTC 2020
Modified Files:
pkgsrc/chat/ircd-hybrid: Makefile distinfo
Added Files:
pkgsrc/chat/ircd-hybrid/patches: patch-src_misc.c
Log Message:
Fix day-of-month format so that strftime(3) will recognize it.
To generate a diff of this commit:
cvs rdiff -u -r1.68 -r1.69 pkgsrc/chat/ircd-hybrid/Makefile
cvs rdiff -u -r1.24 -r1.25 pkgsrc/chat/ircd-hybrid/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/chat/ircd-hybrid/patches/patch-src_misc.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/chat/ircd-hybrid/Makefile
diff -u pkgsrc/chat/ircd-hybrid/Makefile:1.68 pkgsrc/chat/ircd-hybrid/Makefile:1.69
--- pkgsrc/chat/ircd-hybrid/Makefile:1.68 Fri May 22 10:55:58 2020
+++ pkgsrc/chat/ircd-hybrid/Makefile Mon Jul 13 13:12:08 2020
@@ -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
Index: pkgsrc/chat/ircd-hybrid/distinfo
diff -u pkgsrc/chat/ircd-hybrid/distinfo:1.24 pkgsrc/chat/ircd-hybrid/distinfo:1.25
--- pkgsrc/chat/ircd-hybrid/distinfo:1.24 Mon May 4 11:40:10 2020
+++ pkgsrc/chat/ircd-hybrid/distinfo Mon Jul 13 13:12:08 2020
@@ -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 @@ SHA512 (ircd-hybrid-8.2.31.tgz) = d440e0
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
Added files:
Index: pkgsrc/chat/ircd-hybrid/patches/patch-src_misc.c
diff -u /dev/null pkgsrc/chat/ircd-hybrid/patches/patch-src_misc.c:1.1
--- /dev/null Mon Jul 13 13:12:09 2020
+++ pkgsrc/chat/ircd-hybrid/patches/patch-src_misc.c Mon Jul 13 13:12:09 2020
@@ -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