/[gentoo-alt]/trunk/prefix/sys-libs/readline/files/readline-5.1-rlfe-uclibc.patch
Gentoo

Contents of /trunk/prefix/sys-libs/readline/files/readline-5.1-rlfe-uclibc.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1140 - (show annotations) (download)
Sat Mar 11 10:23:40 2006 UTC (8 years, 5 months ago) by grobian
File size: 1694 byte(s)
Version bump from mainline tree


1 --- examples/rlfe/pty.c
2 +++ examples/rlfe/pty.c
3 @@ -23,6 +23,7 @@
4
5 #include <sys/types.h>
6 #include <sys/stat.h>
7 +#include <unistd.h>
8 #include <fcntl.h>
9 #include <signal.h>
10
11 @@ -34,7 +34,7 @@
12 #endif
13
14 /* for solaris 2.1, Unixware (SVR4.2) and possibly others */
15 -#ifdef HAVE_SVR4_PTYS
16 +#if defined(HAVE_SYS_STROPTS_H)
17 # include <sys/stropts.h>
18 #endif
19
20 --- examples/rlfe/rlfe.c
21 +++ examples/rlfe/rlfe.c
22 @@ -73,6 +73,9 @@
23 #include <termios.h>
24
25 #include "config.h"
26 +#include "extern.h"
27 +
28 +#include <sys/wait.h>
29
30 #ifdef READLINE_LIBRARY
31 # include "readline.h"
32 --- configure
33 +++ configure
34 @@ -4956,7 +4956,7 @@
35
36
37
38 -for ac_header in sys/pte.h sys/stream.h sys/select.h sys/file.h
39 +for ac_header in sys/pte.h sys/stream.h sys/select.h sys/file.h sys/stropts.h sys/wait.h
40 do
41 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
42 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43
44 --- configure.in
45 +++ configure.in
46 @@ -148,7 +148,7 @@
47
48 AC_CHECK_HEADERS(fcntl.h unistd.h stdlib.h varargs.h stdarg.h string.h strings.h \
49 limits.h locale.h pwd.h memory.h termcap.h termios.h termio.h)
50 -AC_CHECK_HEADERS(sys/pte.h sys/stream.h sys/select.h sys/file.h)
51 +AC_CHECK_HEADERS(sys/pte.h sys/stream.h sys/select.h sys/file.h sys/stropts.h sys/wait.h)
52
53 AC_CHECK_HEADERS(sys/ptem.h,,,
54 [[
55 --- config.h.in
56 +++ config.h.in
57 @@ -141,6 +141,12 @@
58 /* Define if you have the <sys/file.h> header file. */
59 #undef HAVE_SYS_FILE_H
60
61 +/* Define if you have the <sys/stropts.h> header file. */
62 +#undef HAVE_SYS_STROPTS_H
63 +
64 +/* Define if you have the <sys/wait.h> header file. */
65 +#undef HAVE_SYS_WAIT_H
66 +
67 /* Define if you have the <sys/ndir.h> header file. */
68 #undef HAVE_SYS_NDIR_H
69

  ViewVC Help
Powered by ViewVC 1.1.20