openbsd-ports/sysutils/moreutils/patches/patch-ifne_c
sthen d94d6330a1 import sysutils/moreutils: ok dcoppa@
moreutils is a growing collection of the unix tools that nobody thought
to write long ago when unix was young, including amongst others:

lckdo: execute a program with a lock held
mispipe: pipe two commands, returning the exit status of the first
pee: tee standard input to pipes
sponge: soak up standard input and write to a file
ts: timestamp standard input
vidir: edit a directory in your text editor
vipe: insert a text editor into a pipe
zrun: automatically uncompress arguments to command
2011-05-04 14:11:59 +00:00

12 lines
357 B
Plaintext

$OpenBSD: patch-ifne_c,v 1.1.1.1 2011/05/04 14:11:59 sthen Exp $
--- ifne.c.orig Sun May 1 13:12:58 2011
+++ ifne.c Sun May 1 13:13:20 2011
@@ -23,6 +23,7 @@
#include <sys/wait.h>
#include <sys/types.h>
#include <string.h>
+#include <signal.h>
#define streq(a, b) (!strcmp((a), (b)))
static void stdin_to_stream(char *buf, ssize_t r, FILE *outf) {