Control: tags 976192 + pending

Hello Michael,

I've prepared an NMU for bsdmainutils (versioned as 12.1.7+nmu2) and
I'm about to upload it to DELAYED/7. Please feel free to tell me if I
should delay it longer.

Best regards
Uwe
diff -Nru bsdmainutils-12.1.7+nmu1/debian/changelog bsdmainutils-12.1.7+nmu2/debian/changelog
--- bsdmainutils-12.1.7+nmu1/debian/changelog	2021-02-08 10:04:48.000000000 +0100
+++ bsdmainutils-12.1.7+nmu2/debian/changelog	2021-02-15 11:31:35.000000000 +0100
@@ -1,3 +1,11 @@
+bsdmainutils (12.1.7+nmu2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix ISO week calculation (Closes: #976192), thanks to Kate for the
+    initial patch.
+
+ -- Uwe Kleine-König <uklei...@debian.org>  Mon, 15 Feb 2021 11:31:35 +0100
+
 bsdmainutils (12.1.7+nmu1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru bsdmainutils-12.1.7+nmu1/debian/patches/ncal_fdow.diff bsdmainutils-12.1.7+nmu2/debian/patches/ncal_fdow.diff
--- bsdmainutils-12.1.7+nmu1/debian/patches/ncal_fdow.diff	2020-08-04 13:49:06.000000000 +0200
+++ bsdmainutils-12.1.7+nmu2/debian/patches/ncal_fdow.diff	2021-02-15 11:30:47.000000000 +0100
@@ -68,7 +68,7 @@
  static int nswitchb;		/* switch date for backward compatibility */
  static int highlightdate;
 +int weekstart = -1;		/* day the week starts on (Sun [0] - Sat [6]) */
-+int days_first_week = 0;       /* minimal length of the first week in year */
++int days_first_week = -1;       /* minimal length of the first week in year */
  
  static char	*center(char *s, char *t, int w);
  static wchar_t *wcenter(wchar_t *s, wchar_t *t, int w);
@@ -139,7 +139,7 @@
 +#ifdef __GLIBC__
 +		days_first_week = *nl_langinfo(_NL_TIME_WEEK_1STWEEK);
 +#else
-+		days_first_week = 3;
++		days_first_week = 4;
 +#endif
 +
  	if (flag_month != NULL) {

Attachment: signature.asc
Description: PGP signature

Reply via email to