freebsd-ports/sysutils/powerman/files/patch-src-parse.lex
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

12 lines
303 B
Text

$FreeBSD$
--- src/parse.lex.orig Mon Mar 29 21:57:12 2004
+++ src/parse.lex Mon Mar 29 21:57:46 2004
@@ -41,6 +41,7 @@
#include "error.h"
#include "parse_util.h"
extern void yyerror();
+extern YYSTYPE yylval;
#define MAX_INCLUDE_DEPTH 10
static YY_BUFFER_STATE include_stack[MAX_INCLUDE_DEPTH];