pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/time/sunclock
Module Name: pkgsrc
Committed By: nia
Date: Thu Dec 18 13:18:19 UTC 2025
Modified Files:
pkgsrc/time/sunclock: distinfo
pkgsrc/time/sunclock/patches: patch-ab patch-widgets.c
Log Message:
sunclock: Include <strings.h> for index(3).
Fixes build on illumos with recent gcc and probably others.
To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 pkgsrc/time/sunclock/distinfo
cvs rdiff -u -r1.2 -r1.3 pkgsrc/time/sunclock/patches/patch-ab
cvs rdiff -u -r1.1 -r1.2 pkgsrc/time/sunclock/patches/patch-widgets.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/time/sunclock/distinfo
diff -u pkgsrc/time/sunclock/distinfo:1.10 pkgsrc/time/sunclock/distinfo:1.11
--- pkgsrc/time/sunclock/distinfo:1.10 Fri Dec 9 14:13:00 2022
+++ pkgsrc/time/sunclock/distinfo Thu Dec 18 13:18:18 2025
@@ -1,15 +1,15 @@
-$NetBSD: distinfo,v 1.10 2022/12/09 14:13:00 vins Exp $
+$NetBSD: distinfo,v 1.11 2025/12/18 13:18:18 nia Exp $
BLAKE2s (sunclock-3.57.tar.bz2) = fa7713e5b1bd87851c64919e59deb07601c93aed1820fb4b6fea87903d664f56
SHA512 (sunclock-3.57.tar.bz2) = cfb99ecf29d9230335af59d0e6056d51c9922a50e8749708f237676cd81f346de66b66801079b6032880b88ba8242432dc8cb65c51c866577e0be51be30cb13a
Size (sunclock-3.57.tar.bz2) = 1325138 bytes
SHA1 (patch-Imakefile) = f1cc0a5d4c8462b1667b50247881baca44ca0b72
SHA1 (patch-aa) = ce0aa1b588e18a2238e36689ede63d1d30bb5a4b
-SHA1 (patch-ab) = a299fd897511acf4238d14c5432d7ea467c9756f
+SHA1 (patch-ab) = a23897d0144639899dd3e5cacea875edfaab7ba6
SHA1 (patch-editkit_Imakefile) = 697c48887a706a0211b2a0fdfd6fd042d99085f8
SHA1 (patch-editkit_edit.c) = ed6bde0c2740547593c4813c7030abc7a4afbada
SHA1 (patch-readpng.c) = 7c0d3a17be546bb158bc525aae9158c4472e0cfd
SHA1 (patch-readvmf.c) = ce94c97ece858f963fcbc7f08a3551425667a38b
SHA1 (patch-sunclock.h) = 2e45807196e1b5a48602f80bc842d87b435c0574
SHA1 (patch-version.h) = 0c743fc66a578f847704203ffb0b78f050cf30d3
-SHA1 (patch-widgets.c) = e7c1f0a5f5cf83209ce989f258b651d31279c51e
+SHA1 (patch-widgets.c) = fbf63768264ef1bd7c11da1b612a6d187c7b5cbc
Index: pkgsrc/time/sunclock/patches/patch-ab
diff -u pkgsrc/time/sunclock/patches/patch-ab:1.2 pkgsrc/time/sunclock/patches/patch-ab:1.3
--- pkgsrc/time/sunclock/patches/patch-ab:1.2 Fri Dec 9 14:13:00 2022
+++ pkgsrc/time/sunclock/patches/patch-ab Thu Dec 18 13:18:18 2025
@@ -1,10 +1,18 @@
-$NetBSD: patch-ab,v 1.2 2022/12/09 14:13:00 vins Exp $
+$NetBSD: patch-ab,v 1.3 2025/12/18 13:18:18 nia Exp $
Fix y2038 bugs; time_t != long
--- sunclock.c.orig 2008-08-07 12:40:24.000000000 +0000
+++ sunclock.c
-@@ -127,7 +127,6 @@
+@@ -116,6 +116,7 @@
+ #include <sys/timeb.h>
+ #include <sys/stat.h>
+ #include <string.h>
++#include <strings.h>
+ #include <X11/Xatom.h>
+
+ #define DEFVAR
+@@ -127,7 +128,6 @@
* external routines
*/
Index: pkgsrc/time/sunclock/patches/patch-widgets.c
diff -u pkgsrc/time/sunclock/patches/patch-widgets.c:1.1 pkgsrc/time/sunclock/patches/patch-widgets.c:1.2
--- pkgsrc/time/sunclock/patches/patch-widgets.c:1.1 Fri Dec 9 14:13:00 2022
+++ pkgsrc/time/sunclock/patches/patch-widgets.c Thu Dec 18 13:18:18 2025
@@ -1,10 +1,20 @@
-$NetBSD: patch-widgets.c,v 1.1 2022/12/09 14:13:00 vins Exp $
+$NetBSD: patch-widgets.c,v 1.2 2025/12/18 13:18:18 nia Exp $
+
+Include <strings.h> for index(3).
Fix sprintf() usage.
--- widgets.c.orig 2011-07-09 09:51:18.000000000 +0000
+++ widgets.c
-@@ -818,13 +818,13 @@ char *hint;
+@@ -3,6 +3,7 @@
+ #include <sys/timeb.h>
+ #include <sys/stat.h>
+ #include <string.h>
++#include <strings.h>
+
+ #include "sunclock.h"
+ #include "langdef.h"
+@@ -818,13 +819,13 @@ char *hint;
if (key == '=')
sprintf(more+2, "(%c)", (do_sync)? '+' : '-');
if (key == '[' && do_root <= 0)
Home |
Main Index |
Thread Index |
Old Index