summaryrefslogtreecommitdiff
path: root/sysutils/runwhen/files/patch-src_rw__scan.c
diff options
context:
space:
mode:
authorFernando ApesteguĂ­a <fernape@FreeBSD.org>2022-08-12 20:09:15 +0200
committerFernando ApesteguĂ­a <fernape@FreeBSD.org>2022-08-13 19:06:32 +0200
commit9df6c6caf2d012781162a296c89d72bae9bf1c38 (patch)
tree29457c136692979a9063283b155653e8d79c0141 /sysutils/runwhen/files/patch-src_rw__scan.c
parentmultimedia/tautulli: Update to 2.10.3 (diff)
sysutils/runwhen: Unbreak build
Build despite the skalibs_t typedef removal. Add support for the latest skalibs release. Submitter steps up to maintain the port. Already maintainer of several ports. PR: 265759 Reported by: crest@rlwinm.de
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);