summaryrefslogtreecommitdiff
path: root/sysutils/runwhen/files/patch-src_rw__scan.c
diff options
context:
space:
mode:
authorJan Bramkamp <crest@rlwinm.de>2024-05-27 20:50:02 +0200
committerRobert Clausecker <fuz@FreeBSD.org>2024-06-16 13:54:29 +0200
commit466b18e8dd474038da7a629574a69d7bd3f3214a (patch)
tree85055842d27188b1436c4e6e2bcd3d89057e3e13 /sysutils/runwhen/files/patch-src_rw__scan.c
parentsysutils/s6-rc: Update to 0.5.4.2 (diff)
sysutils/runwhen: Add skalibs-2.14 support
Patch skalibs-2.14 support into runwhen-2021.04.30: - Skalibs no longer pollutes the namespace with uint64 (without _t). - Patch runwhen to use uint64_t instead of uint64. - Update dependency to devel/skalibs>=2.14.1.1 - Bump port revision. No functional change intended. PR: 279116
Diffstat (limited to 'sysutils/runwhen/files/patch-src_rw__scan.c')
-rw-r--r--sysutils/runwhen/files/patch-src_rw__scan.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/sysutils/runwhen/files/patch-src_rw__scan.c b/sysutils/runwhen/files/patch-src_rw__scan.c
index 751572a1e3d1..f499207e8d87 100644
--- a/sysutils/runwhen/files/patch-src_rw__scan.c
+++ b/sysutils/runwhen/files/patch-src_rw__scan.c
@@ -1,14 +1,17 @@
---- src/rw_scan.c.orig 2022-08-10 16:08:50 UTC
+--- src/rw_scan.c.orig 2020-04-23 08:44:17 UTC
+++ src/rw_scan.c
-@@ -9,7 +9,7 @@
+@@ -9,9 +9,9 @@ extern char const* PROG;
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;
+- uint64 u;
++ uint64_t u;
char const* x;
+ switch (text[0]) {
+ case '$':
@@ -53,7 +53,7 @@ void rw_scan(tain_t* stamp, char const* text) {
tai_unix(tain_secp(stamp), u);
break;