Add patch to fix build, forgotten in previous commit

Reported by:	Jan Henrik Sylvester <me@janh.de>, Eric Camachat <eric.camachat@gmail.com>
Pointyhat to:	johans
This commit is contained in:
Johan van Selst 2014-01-02 19:32:27 +00:00
parent 1bf071adf0
commit 250294032e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=338468
2 changed files with 14 additions and 6 deletions

View File

@ -1,6 +1,6 @@
--- src/updown.c.orig 2011-09-07 23:04:32.000000000 +0200
+++ src/updown.c 2011-12-28 16:07:59.000000000 +0100
@@ -296,7 +296,7 @@ void updown(int what, int nr)
--- src/updown.c.orig 2013-12-08 11:25:06.000000000 +0100
+++ src/updown.c 2014-01-02 20:30:33.000000000 +0100
@@ -298,7 +298,7 @@ void updown(int what, int nr)
do_log("%s", cmdline); /* jl 22.06.97 */
if (P_PFULL(g) == 'N') {

View File

@ -1,6 +1,14 @@
--- src/script.c.orig 2011-07-23 19:58:32.000000000 +0200
+++ src/script.c 2011-12-28 16:07:59.000000000 +0100
@@ -69,7 +69,7 @@ struct env {
--- src/script.c.orig 2013-10-29 12:07:42.000000000 +0100
+++ src/script.c 2014-01-02 20:30:55.000000000 +0100
@@ -32,6 +32,7 @@
#include <config.h>
#endif
+#include <sys/wait.h>
#include <stdarg.h>
#include "port.h"
@@ -76,7 +77,7 @@ struct env {
struct env *curenv; /* Execution environment */
int gtimeout = 120; /* Global Timeout */
int etimeout = 0; /* Timeout in expect routine */