summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFederico Ferri <mescalinum@gentoo.org>2009-06-07 17:01:05 +0000
committerFederico Ferri <mescalinum@gentoo.org>2009-06-07 17:01:05 +0000
commit82a3e48d141e61b19ebe3ce066b11c532656a2aa (patch)
treed181eceef8a91642b5701437c873262bb9b15f40 /dev-tcltk/expect/files
parentStable on alpha, bug #271986 (diff)
downloadgentoo-2-82a3e48d141e61b19ebe3ce066b11c532656a2aa.tar.gz
gentoo-2-82a3e48d141e61b19ebe3ce066b11c532656a2aa.tar.bz2
gentoo-2-82a3e48d141e61b19ebe3ce066b11c532656a2aa.zip
fix implicit missing declarations (bug 204878)
(Portage version: 2.2_rc33/cvs/Linux x86_64)
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)