freebsd-ports/sysutils/runwhen/files/patch-src_rw__scan.c
Fernando Apesteguía 9df6c6caf2 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
2022-08-13 19:06:32 +02:00

20 lines
514 B
C

--- 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);