Files
ports/sysutils/runwhen/files/patch-src_rw__pass.c
T
Jan Bramkamp c12639ccb1 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
2026-03-24 20:12:37 +01:00

20 lines
481 B
C

--- src/rw_pass.c.orig 2021-04-23 23:20:53 UTC
+++ src/rw_pass.c
@@ -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;
-void rw_pass(tain_t const* t, char** argv) {
+void rw_pass(tain const* t, char** argv) {
char buf[2*TAIN_PACK+1];
buf[tain_fmt(buf, t)]='\0';