summaryrefslogtreecommitdiff
path: root/sysutils/runwhen/files/patch-src_rw__scan.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/runwhen/files/patch-src_rw__scan.c')
-rw-r--r--sysutils/runwhen/files/patch-src_rw__scan.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/sysutils/runwhen/files/patch-src_rw__scan.c b/sysutils/runwhen/files/patch-src_rw__scan.c
new file mode 100644
index 000000000000..751572a1e3d1
--- /dev/null
+++ b/sysutils/runwhen/files/patch-src_rw__scan.c
@@ -0,0 +1,20 @@
+--- src/rw_scan.c.orig 2022-08-10 16:08:50 UTC
++++ src/rw_scan.c
+@@ -9,7 +9,7 @@
+
+ extern char const* PROG;
+
+-void rw_scan(tain_t* stamp, char const* text) {
++void rw_scan(tain* stamp, char const* text) {
+ unsigned int i, scale;
+ uint64 u;
+ char const* x;
+@@ -53,7 +53,7 @@ void rw_scan(tain_t* stamp, char const* text) {
+ tai_unix(tain_secp(stamp), u);
+ break;
+ case 'i': {
+- localtmn_t loc;
++ localtmn loc;
+ short dummy;
+ ++text;
+ i=localtmn_scan(text, &loc);