Files
ports/sysutils/runwhen/files/patch-src_rw-touch.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
513 B
C

--- src/rw-touch.c.orig 2021-04-23 23:22:53 UTC
+++ src/rw-touch.c
@@ -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) {
- tain_t t;
+ tain t;
struct timeval tv[2];
if (argc<3) DIE_USAGE(" stamp filename [program...]");
rw_scan(&t, argv[1]);