git: c12639ccb19b - main - sysutils/runwhen: Patch compatibility with skalibs 2.14.5.1
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 24 Mar 2026 19:17:06 UTC
The branch main has been updated by fuz:
URL: https://cgit.FreeBSD.org/ports/commit/?id=c12639ccb19b8c576307db528d11e8e5dcd9cc30
commit c12639ccb19b8c576307db528d11e8e5dcd9cc30
Author: Jan Bramkamp <crest@rlwinm.de>
AuthorDate: 2026-03-19 08:57:30 +0000
Commit: Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2026-03-24 19:12:37 +0000
sysutils/runwhen: Patch compatibility with skalibs 2.14.5.1
The exec0() function has been replaced by a macro. If the <skalibs/exec.h>
header isn't included the old *exec*() function names become missing symbols.
PR: 293916
---
sysutils/runwhen/Makefile | 4 ++--
sysutils/runwhen/files/patch-src_rw-sleep.c | 12 ++++++++++--
sysutils/runwhen/files/patch-src_rw-touch.c | 12 ++++++++++--
sysutils/runwhen/files/patch-src_rw__pass.c | 12 ++++++++++--
4 files changed, 32 insertions(+), 8 deletions(-)
diff --git a/sysutils/runwhen/Makefile b/sysutils/runwhen/Makefile
index 867e61a93cca..e2be83c1ab6a 100644
--- a/sysutils/runwhen/Makefile
+++ b/sysutils/runwhen/Makefile
@@ -1,6 +1,6 @@
PORTNAME= runwhen
DISTVERSION= 2021.04.30
-PORTREVISION= 4
+PORTREVISION= 5
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.14.3.0:devel/skalibs
+BUILD_DEPENDS= skalibs>=2.14.5.1:devel/skalibs
LIB_DEPENDS= libskarnet.so:devel/skalibs
USES= localbase tar:bzip2
diff --git a/sysutils/runwhen/files/patch-src_rw-sleep.c b/sysutils/runwhen/files/patch-src_rw-sleep.c
index 10b322212a9a..864815951260 100644
--- a/sysutils/runwhen/files/patch-src_rw-sleep.c
+++ b/sysutils/runwhen/files/patch-src_rw-sleep.c
@@ -1,6 +1,14 @@
---- src/rw-sleep.c.orig 2022-08-10 16:08:24 UTC
+--- src/rw-sleep.c.orig 2021-04-23 23:23:16 UTC
+++ src/rw-sleep.c
-@@ -36,7 +36,7 @@ int main(int argc, char** argv) {
+@@ -5,6 +5,7 @@
+ #include <limits.h>
+ #include <signal.h>
+
++#include <skalibs/exec.h>
+ #include <skalibs/stddjb.h>
+ #include "prjlibs-include/constants.h"
+ #include "prjlibs-include/diewarn.h"
+@@ -36,7 +37,7 @@ int main(int argc, char** argv) {
timer.it_value.tv_sec=0;
timer.it_value.tv_usec=0;
} else {
diff --git a/sysutils/runwhen/files/patch-src_rw-touch.c b/sysutils/runwhen/files/patch-src_rw-touch.c
index 862ee85ab6cf..22e0a26a05da 100644
--- a/sysutils/runwhen/files/patch-src_rw-touch.c
+++ b/sysutils/runwhen/files/patch-src_rw-touch.c
@@ -1,6 +1,14 @@
---- src/rw-touch.c.orig 2022-08-10 16:08:24 UTC
+--- src/rw-touch.c.orig 2021-04-23 23:22:53 UTC
+++ src/rw-touch.c
-@@ -10,7 +10,7 @@
+@@ -2,6 +2,7 @@
+ #include <sys/time.h>
+ #include <errno.h>
+
++#include <skalibs/exec.h>
+ #include <skalibs/stddjb.h>
+ #include "prjlibs-include/constants.h"
+ #include "prjlibs-include/diewarn.h"
+@@ -10,7 +11,7 @@ int main(int argc, char** argv) {
char const* PROG="rw-touch";
int main(int argc, char** argv) {
diff --git a/sysutils/runwhen/files/patch-src_rw__pass.c b/sysutils/runwhen/files/patch-src_rw__pass.c
index a8acb9692c66..ae6318f680ad 100644
--- a/sysutils/runwhen/files/patch-src_rw__pass.c
+++ b/sysutils/runwhen/files/patch-src_rw__pass.c
@@ -1,6 +1,14 @@
---- src/rw_pass.c.orig 2022-08-10 16:08:24 UTC
+--- src/rw_pass.c.orig 2021-04-23 23:20:53 UTC
+++ src/rw_pass.c
-@@ -9,7 +9,7 @@
+@@ -2,6 +2,7 @@
+ #include <unistd.h>
+ #include <errno.h>
+
++#include <skalibs/exec.h>
+ #include <skalibs/stddjb.h>
+ #include "prjlibs-include/constants.h"
+ #include "prjlibs-include/diewarn.h"
+@@ -9,7 +10,7 @@ extern char const* PROG;
extern char const* PROG;