git: 466b18e8dd47 - main - sysutils/runwhen: Add skalibs-2.14 support
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 16 Jun 2024 12:57:10 UTC
The branch main has been updated by fuz:
URL: https://cgit.FreeBSD.org/ports/commit/?id=466b18e8dd474038da7a629574a69d7bd3f3214a
commit 466b18e8dd474038da7a629574a69d7bd3f3214a
Author: Jan Bramkamp <crest@rlwinm.de>
AuthorDate: 2024-05-27 18:50:02 +0000
Commit: Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2024-06-16 11:54:29 +0000
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
---
sysutils/runwhen/Makefile | 4 ++--
sysutils/runwhen/files/patch-src_rw__scan.c | 9 ++++++---
2 files changed, 8 insertions(+), 5 deletions(-)
diff --git a/sysutils/runwhen/Makefile b/sysutils/runwhen/Makefile
index 9bedabdc3f45..0baff384ead6 100644
--- a/sysutils/runwhen/Makefile
+++ b/sysutils/runwhen/Makefile
@@ -1,6 +1,6 @@
PORTNAME= runwhen
DISTVERSION= 2021.04.30
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= sysutils
MASTER_SITES= http://code.dogmap.org/runwhen/releases/
@@ -11,7 +11,7 @@ WWW= http://code.dogmap.org/runwhen/
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/package/LICENSE
-BUILD_DEPENDS= skalibs>=2.13.1.1:devel/skalibs
+BUILD_DEPENDS= skalibs>=2.14.1.1:devel/skalibs
LIB_DEPENDS= libskarnet.so:devel/skalibs
USES= localbase tar:bzip2
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;