From: | "Mike Frysinger (vapier)" <vapier@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo commit in src/patchsets/gdb/7.3.1: 05_all_readline-headers.patch README.history |
Date: | Wed, 07 Sep 2011 00:09:18 |
Message-Id: | 20110907000909.64FB52004C@flycatcher.gentoo.org |
1 | vapier 11/09/07 00:09:09 |
2 | |
3 | Added: 05_all_readline-headers.patch README.history |
4 | Log: |
5 | initial 7.3.1 patchset based on last 7.3 patchset |
6 | |
7 | Revision Changes Path |
8 | 1.1 src/patchsets/gdb/7.3.1/05_all_readline-headers.patch |
9 | |
10 | file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gdb/7.3.1/05_all_readline-headers.patch?rev=1.1&view=markup |
11 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gdb/7.3.1/05_all_readline-headers.patch?rev=1.1&content-type=text/plain |
12 | |
13 | Index: 05_all_readline-headers.patch |
14 | =================================================================== |
15 | --- a/readline/complete.c |
16 | +++ b/readline/complete.c |
17 | @@ -25,6 +25,11 @@ |
18 | # include <config.h> |
19 | #endif |
20 | |
21 | +#ifdef HAVE_WCHAR_H /* wcwidth() */ |
22 | +# define _GNU_SOURCE |
23 | +# include <wchar.h> |
24 | +#endif |
25 | + |
26 | #include <sys/types.h> |
27 | #include <fcntl.h> |
28 | #if defined (HAVE_SYS_FILE_H) |
29 | --- a/readline/display.c |
30 | +++ b/readline/display.c |
31 | @@ -25,6 +25,11 @@ |
32 | # include <config.h> |
33 | #endif |
34 | |
35 | +#ifdef HAVE_WCHAR_H /* wcwidth() */ |
36 | +# define _GNU_SOURCE |
37 | +# include <wchar.h> |
38 | +#endif |
39 | + |
40 | #include <sys/types.h> |
41 | |
42 | #if defined (HAVE_UNISTD_H) |
43 | --- a/readline/mbutil.c |
44 | +++ b/readline/mbutil.c |
45 | @@ -25,6 +25,11 @@ |
46 | # include <config.h> |
47 | #endif |
48 | |
49 | +#ifdef HAVE_WCHAR_H /* wcwidth() */ |
50 | +# define _GNU_SOURCE |
51 | +# include <wchar.h> |
52 | +#endif |
53 | + |
54 | #include <sys/types.h> |
55 | #include <fcntl.h> |
56 | #include "posixjmp.h" |
57 | |
58 | |
59 | |
60 | 1.1 src/patchsets/gdb/7.3.1/README.history |
61 | |
62 | file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gdb/7.3.1/README.history?rev=1.1&view=markup |
63 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gdb/7.3.1/README.history?rev=1.1&content-type=text/plain |
64 | |
65 | Index: README.history |
66 | =================================================================== |
67 | 1 06 Sep 2011 |
68 | + 05_all_readline-headers.patch |