ports/sysutils/powerman/files/patch-src-device_pipe.c
Greg Lewis 3b06cdd620 Add a port of PowerMan:
PowerMan is a tool for manipulating remote power control (RPC)
devices from a central location. Several RPC varieties are supported
natively by PowerMan and Expect-like configurability simplifies the
addition of new devices.

WWW: http://www.llnl.gov/linux/powerman/
2004-06-17 16:14:13 +00:00

15 lines
288 B
C

$FreeBSD$
--- src/device_pipe.c.orig Mon Mar 29 22:02:27 2004
+++ src/device_pipe.c Mon Mar 29 22:02:48 2004
@@ -38,7 +38,10 @@
#include <ctype.h>
#include <sys/types.h>
#include <sys/wait.h>
+#include <signal.h>
+#ifdef __linux__
#include <pty.h>
+#endif
#include "powerman.h"