pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/x11/wmweather
Module Name: pkgsrc
Committed By: nia
Date: Sat Dec 20 15:54:13 UTC 2025
Modified Files:
pkgsrc/x11/wmweather: distinfo
pkgsrc/x11/wmweather/patches: patch-wmweather.c
Log Message:
wmweather: Include <strings.h> for rindex(3).
To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 pkgsrc/x11/wmweather/distinfo
cvs rdiff -u -r1.2 -r1.3 pkgsrc/x11/wmweather/patches/patch-wmweather.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/x11/wmweather/distinfo
diff -u pkgsrc/x11/wmweather/distinfo:1.16 pkgsrc/x11/wmweather/distinfo:1.17
--- pkgsrc/x11/wmweather/distinfo:1.16 Tue Oct 26 11:34:31 2021
+++ pkgsrc/x11/wmweather/distinfo Sat Dec 20 15:54:13 2025
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.16 2021/10/26 11:34:31 nia Exp $
+$NetBSD: distinfo,v 1.17 2025/12/20 15:54:13 nia Exp $
BLAKE2s (wmweather-2.4.7.tar.gz) = 290e27abc9a01dfd4a434f77ff2827298828f693f70b1065b57c50db9a98cf1b
SHA512 (wmweather-2.4.7.tar.gz) = d9d0c46e85a24aaa278aa75e0fcd51fc417c3c094d9e69c5820a288955c3ebdde21a24b26964824d9275a41ec053e3d942b185b24088d806e033e311e6e09108
Size (wmweather-2.4.7.tar.gz) = 86220 bytes
SHA1 (patch-aa) = a882d59ff36a5fb23822ab9288c48f62edc094d8
-SHA1 (patch-wmweather.c) = 7c5e0f3e379e82333dbdd7b6799e4398dc06e815
+SHA1 (patch-wmweather.c) = 71e7dbfc1a6f3a88ca90d27e7de34c69d45c235f
Index: pkgsrc/x11/wmweather/patches/patch-wmweather.c
diff -u pkgsrc/x11/wmweather/patches/patch-wmweather.c:1.2 pkgsrc/x11/wmweather/patches/patch-wmweather.c:1.3
--- pkgsrc/x11/wmweather/patches/patch-wmweather.c:1.2 Sat Jul 10 17:13:44 2021
+++ pkgsrc/x11/wmweather/patches/patch-wmweather.c Sat Dec 20 15:54:13 2025
@@ -1,11 +1,20 @@
-$NetBSD: patch-wmweather.c,v 1.2 2021/07/10 17:13:44 dholland Exp $
+$NetBSD: patch-wmweather.c,v 1.3 2025/12/20 15:54:13 nia Exp $
+Include <strings.h> for rindex(3).
Use ctype.h functions correctly.
Use the proper type with time().
--- wmweather.c.orig 2019-02-13 19:54:49.000000000 +0000
+++ wmweather.c
-@@ -269,7 +269,7 @@ static void do_conf(const char *rcfile)
+@@ -25,6 +25,7 @@
+ #include <signal.h>
+ #include <stdlib.h>
+ #include <string.h>
++#include <strings.h>
+ #include <sys/stat.h>
+ #include <sys/wait.h>
+ #include <unistd.h>
+@@ -269,7 +270,7 @@ static void do_conf(const char *rcfile)
exit(1);
}
for (i = 0; i < 4; i++)
@@ -14,7 +23,7 @@ Use the proper type with time().
if (station != NULL)
free(station);
station = strdup(optarg);
-@@ -406,7 +406,7 @@ static void do_opts(int argc, char *argv
+@@ -406,7 +407,7 @@ static void do_opts(int argc, char *argv[])
exit(1);
}
for (i = 0; i < 4; i++)
@@ -23,7 +32,7 @@ Use the proper type with time().
if (station != NULL)
free(station);
station = optarg;
-@@ -690,11 +690,12 @@ static void update(int force_read)
+@@ -690,11 +691,12 @@ static void update(int force_read)
char buffer[MAX_STRING], *i;
int line, n, q, sgn;
long l = 0;
@@ -39,7 +48,7 @@ Use the proper type with time().
utc_diff = (tm->tm_hour - utc_diff + 24) % 24 * 3600;
if (stat(report, &rst) < 0 && errno != ENOENT) {
-@@ -1129,8 +1130,8 @@ static void update(int force_read)
+@@ -1129,8 +1131,8 @@ static void update(int force_read)
} else {
Home |
Main Index |
Thread Index |
Old Index