summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-tcltk/expect/files')
-rw-r--r--dev-tcltk/expect/files/expect-5.42.1-missing-includes.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/dev-tcltk/expect/files/expect-5.42.1-missing-includes.patch b/dev-tcltk/expect/files/expect-5.42.1-missing-includes.patch
new file mode 100644
index 000000000000..ec4ce5184eb2
--- /dev/null
+++ b/dev-tcltk/expect/files/expect-5.42.1-missing-includes.patch
@@ -0,0 +1,33 @@
+diff -urN work.orig/expect-5.42/exp_glob.c work/expect-5.42/exp_glob.c
+--- work.orig/expect-5.42/exp_glob.c 2009-06-02 00:07:02.429807485 -0400
++++ work/expect-5.42/exp_glob.c 2009-06-02 00:09:05.039817979 -0400
+@@ -11,6 +11,7 @@
+
+ */
+
++#include <string.h>
+ #include "expect_cf.h"
+ #include "tcl.h"
+ #include "exp_int.h"
+diff -urN work.orig/expect-5.42/exp_main_exp.c work/expect-5.42/exp_main_exp.c
+--- work.orig/expect-5.42/exp_main_exp.c 2009-06-02 00:07:02.429807485 -0400
++++ work/expect-5.42/exp_main_exp.c 2009-06-02 00:08:09.867365455 -0400
+@@ -9,6 +9,7 @@
+
+ #include "expect_cf.h"
+ #include <stdio.h>
++#include <stdlib.h>
+ #include "tcl.h"
+ #include "expect_tcl.h"
+
+diff -urN work.orig/expect-5.42/pty_termios.c work/expect-5.42/pty_termios.c
+--- work.orig/expect-5.42/pty_termios.c 2009-06-02 00:07:02.449818499 -0400
++++ work/expect-5.42/pty_termios.c 2009-06-02 00:08:41.878505396 -0400
+@@ -8,6 +8,7 @@
+ */
+
+ #include <stdio.h>
++#include <string.h>
+ #include <signal.h>
+
+ #if defined(SIGCLD) && !defined(SIGCHLD)